#F066E2#F066E2
#F066E2 is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.3% C 0.220 H 331.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #F066E2 |
|---|---|
| RGB | rgb(240, 102, 226) |
| HSL | hsl(306, 82%, 67%) |
| HSV | hsv(306, 58%, 94%) |
| CMYK | cmyk(0%, 57.5%, 5.8%, 5.9%) |
| CIE-LAB | lab(64.58, 67.83, -38.12) |
| CIE-LCH | lch(64.58, 77.81, 330.67°) |
| OKLab | oklab(72.3% 0.1936 -0.1043) |
| OKLCH | oklch(72.3% 0.22 331.7) |
| XYZ | xyz(54.4139, 33.5228, 75.5413) |
| Luminance | 0.3352 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.24
Purply Pink
#F075E6
ΔE00 2.65
Light Magenta
#FA5FF7
ΔE00 3.15
Orchid
#DA70D6
ΔE00 3.61
Violet Pink
#FB5FFC
ΔE00 3.80
Violet (CSS)
#EE82EE
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F066E2 #66F074
analogous
#B966F0 #F066E2 #F0669D
triadic
#F066E2 #E2F066 #66E2F0
tetradic
#F066E2 #F0B966 #66F074 #669DF0
square
#F066E2 #F0B966 #66F074 #669DF0
split-complementary
#F066E2 #9DF066 #66F0B9
monochromatic
#C814B6 #EB2ED7 #F066E2 #F59EED #FBD5F7
Accessibility & contrast
On white
2.73
#F066E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#F066E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F066E2
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F066E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F066E2 | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#8CA4DE
Tritanopia (blue-blind)
#F9729B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #f066e2; /* rgb */ color: rgb(240, 102, 226); /* oklch */ color: oklch(72.3% 0.220 331.7);
Tailwind
colors: {
custom: {
50: '#f899eb',
500: '#f066e2',
950: '#000000',
},
}SCSS
$custom: #f066e2; $custom-light: #f899eb; $custom-dark: #000000;
JSON
{
"hex": "#f066e2",
"rgb": {
"r": 240,
"g": 102,
"b": 226
},
"hsl": {
"h": 306.087,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.72303,
"c": 0.21993,
"h": 331.7
},
"luminance": 0.33519
}Semantic roles & 50–950 ramp
primary
#F066E2
secondary
#C3EFC7
accent
#DF1D07
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84