CSS named colour
Fuchsia
#ff00ff
A CSS named colour: fuchsia is valid anywhere a colour is expected.
- RGB
- rgb(255 0 255)
- HSL
- 300°, 100%, 50%
- OKLCh
- 70.2% 0.322 328.4
Fuchsia in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #ff00ff | |
|---|---|---|
| RGB | rgb(255 0 255) | |
| RGB legacy | rgb(255, 0, 255) | |
| RGB percent | rgb(100% 0% 100%) | |
| HSL | hsl(300 100% 50%) | |
| HSL legacy | hsl(300, 100%, 50%) | |
| HSV / HSB | hsv(300, 100%, 100%) | |
| HWB | hwb(300 0% 0%) | |
| Nearest name | fuchsia | |
| CMYK | cmyk(0%, 100%, 0%, 0%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(70.167% 0.32249 328.363)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(70.167% 0.27457 -0.16916) | |
| CIE LCh | lch(60.169% 111.4 327.105) | |
| CIE Lab | lab(60.169% 93.54 -60.501) | |
| Display P3 | color(display-p3 0.9175 0.2003 0.9675) | |
| Rec. 2020 | color(rec2020 0.8192 0.2544 0.9554) | |
| srgb-linear | color(srgb-linear 1 0 1)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.5929 0.2848 0.9699) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(1.0, 0.0, 1.0)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(1.0, 0.0, 1.0)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(1.0, 0.0, 1.0, 1.0) | |
| GLSL vec4 — linear | vec4(1.0, 0.0, 1.0, 1.0) | |
| GLSL ivec3 | ivec3(255, 0, 255) | |
| HLSL float3 — sRGB | float3(1.0, 0.0, 1.0) | |
| HLSL float3 — linear | float3(1.0, 0.0, 1.0) | |
| HLSL float4 — sRGB | float4(1.0, 0.0, 1.0, 1.0) | |
| HLSL half4 — sRGB | half4(1.0, 0.0, 1.0, 1.0) | |
| WGSL vec3f — sRGB | vec3f(1.0, 0.0, 1.0) | |
| WGSL vec4f — sRGB | vec4f(1.0, 0.0, 1.0, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(1.0, 0.0, 1.0) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(1.0f, 0.0f, 1.0f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(255, 0, 255, 255) | |
| Unreal FLinearColor | FLinearColor(1.0f, 0.0f, 1.0f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(255, 0, 255, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(1, 0, 1, 1) | |
| Flutter Color | Color(0xFFFF00FF)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(255, 0, 255) | |
| SwiftUI Color | Color(red: 1, green: 0, blue: 1) | |
| UIKit UIColor | UIColor(red: 1, green: 0, blue: 1, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xFF00FF | |
|---|---|---|
| 0x hex (ARGB) | 0xFFFF00FF | |
| Array 0–1 | [1, 0, 1] | |
| Array 0–255 | [255, 0, 255] | |
| Decimal integer | 16711935 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Fuchsia on white | 3.14:1 | AA Large | Lc 56 | Large headings only |
| Fuchsia on black | 6.70:1 | AA | Lc 46 | Large headings only |
Fuchsia text on a white background
Fuchsia text on a black background
White text on Fuchsia
Black text on Fuchsia
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#ffedff
- 100#ffdcff
- 200#ffbeff
- 300#ff91ff
- 400#ff35ff
- 500#e600e6
- 600#bd00be
- 700#9a009b
- 800#7c007d
- 900#630064
- 950#3c003d
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#ff5bff
- Tint 2#ff84ff
- Tint 3#ffa6ff
- Tint 4#ffc5ff
- Tint 5#ffe2ff
- Shade 1#c800c8
- Shade 2#940094
- Shade 3#630063
- Shade 4#360036
- Shade 5#0f000f
Colours that work with Fuchsia
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #00c33b
- #c89700
- #00b6cd
- #b27aff
- #ff469d
Closest CSS names
fuchsiaexact matchorchidΔEok 0.141mediumorchidΔEok 0.148violetΔEok 0.149deeppinkΔEok 0.163hotpinkΔEok 0.165