#F062E4#F062E4
#F062E4 is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.9% C 0.227 H 331.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #F062E4 |
|---|---|
| RGB | rgb(240, 98, 228) |
| HSL | hsl(305, 83%, 66%) |
| HSV | hsv(305, 59%, 94%) |
| CMYK | cmyk(0%, 59.2%, 5%, 5.9%) |
| CIE-LAB | lab(64.05, 69.84, -40.06) |
| CIE-LCH | lch(64.05, 80.52, 330.16°) |
| OKLab | oklab(71.94% 0.1988 -0.1098) |
| OKLCH | oklch(71.94% 0.227 331.1) |
| XYZ | xyz(54.3062, 32.8659, 76.8672) |
| Luminance | 0.3286 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.48
Light Magenta
#FA5FF7
ΔE00 2.77
Purply Pink
#F075E6
ΔE00 3.31
Violet Pink
#FB5FFC
ΔE00 3.43
Orchid
#DA70D6
ΔE00 3.90
Violet (CSS)
#EE82EE
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F062E4 #62F06E
analogous
#B562F0 #F062E4 #F0629D
triadic
#F062E4 #E4F062 #62E4F0
tetradic
#F062E4 #F0B562 #62F06E #629DF0
square
#F062E4 #F0B562 #62F06E #629DF0
split-complementary
#F062E4 #9DF062 #62F0B5
monochromatic
#C513B6 #EB2ADA #F062E4 #F59AEE #FBD2F7
Accessibility & contrast
On white
2.77
#F062E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#F062E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F062E4
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F062E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F062E4 | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8FE8
Deuteranopia (green-blind)
#89A2E0
Tritanopia (blue-blind)
#F96F9A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #f062e4; /* rgb */ color: rgb(240, 98, 228); /* oklch */ color: oklch(71.9% 0.227 331.1);
Tailwind
colors: {
custom: {
50: '#f896ed',
500: '#f062e4',
950: '#000000',
},
}SCSS
$custom: #f062e4; $custom-light: #f896ed; $custom-dark: #000000;
JSON
{
"hex": "#f062e4",
"rgb": {
"r": 240,
"g": 98,
"b": 228
},
"hsl": {
"h": 305.07,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.71944,
"c": 0.22708,
"h": 331.1
},
"luminance": 0.32862
}Semantic roles & 50–950 ramp
primary
#F062E4
secondary
#C0EEC4
accent
#DF1907
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84