#F062E7#F062E7
#F062E7 is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 72.1% C 0.229 H 330.2°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #F062E7 |
|---|---|
| RGB | rgb(240, 98, 231) |
| HSL | hsl(304, 83%, 66%) |
| HSV | hsv(304, 59%, 94%) |
| CMYK | cmyk(0%, 59.2%, 3.7%, 5.9%) |
| CIE-LAB | lab(64.19, 70.32, -41.52) |
| CIE-LCH | lch(64.19, 81.67, 329.44°) |
| OKLab | oklab(72.09% 0.1991 -0.114) |
| OKLCH | oklch(72.09% 0.229 330.2) |
| XYZ | xyz(54.7263, 33.0339, 79.0795) |
| Luminance | 0.3303 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.37
Candy Pink
#FF63E9
ΔE00 2.56
Violet Pink
#FB5FFC
ΔE00 3.01
Purply Pink
#F075E6
ΔE00 3.37
Orchid
#DA70D6
ΔE00 4.08
Violet (CSS)
#EE82EE
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F062E7 #62F06B
analogous
#B262F0 #F062E7 #F062A0
triadic
#F062E7 #E7F062 #62E7F0
tetradic
#F062E7 #F0B262 #62F06B #62A0F0
square
#F062E7 #F0B262 #62F06B #62A0F0
split-complementary
#F062E7 #A0F062 #62F0B2
monochromatic
#C513BA #EB2ADE #F062E7 #F59AF0 #FBD2F8
Accessibility & contrast
On white
2.76
#F062E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#F062E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F062E7
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F062E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F062E7 | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#588FEB
Deuteranopia (green-blind)
#87A3E3
Tritanopia (blue-blind)
#F8709C
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #f062e7; /* rgb */ color: rgb(240, 98, 231); /* oklch */ color: oklch(72.1% 0.229 330.2);
Tailwind
colors: {
custom: {
50: '#f896ef',
500: '#f062e7',
950: '#000000',
},
}SCSS
$custom: #f062e7; $custom-light: #f896ef; $custom-dark: #000000;
JSON
{
"hex": "#f062e7",
"rgb": {
"r": 240,
"g": 98,
"b": 231
},
"hsl": {
"h": 303.803,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.72088,
"c": 0.22942,
"h": 330.2
},
"luminance": 0.3303
}Semantic roles & 50–950 ramp
primary
#F062E7
secondary
#C0EEC3
accent
#DF1407
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84