#F066E4#F066E4
#F066E4 is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.4% C 0.222 H 331.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F066E4 |
|---|---|
| RGB | rgb(240, 102, 228) |
| HSL | hsl(305, 82%, 67%) |
| HSV | hsv(305, 58%, 94%) |
| CMYK | cmyk(0%, 57.5%, 5%, 5.9%) |
| CIE-LAB | lab(64.67, 68.15, -39.10) |
| CIE-LCH | lch(64.67, 78.57, 330.16°) |
| OKLab | oklab(72.4% 0.1939 -0.1071) |
| OKLCH | oklch(72.4% 0.222 331.1) |
| XYZ | xyz(54.6899, 33.6332, 76.9951) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.23
Purply Pink
#F075E6
ΔE00 2.65
Light Magenta
#FA5FF7
ΔE00 2.86
Violet Pink
#FB5FFC
ΔE00 3.51
Orchid
#DA70D6
ΔE00 3.70
Violet (CSS)
#EE82EE
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F066E4 #66F072
analogous
#B766F0 #F066E4 #F0669F
triadic
#F066E4 #E4F066 #66E4F0
tetradic
#F066E4 #F0B766 #66F072 #669FF0
square
#F066E4 #F0B766 #66F072 #669FF0
split-complementary
#F066E4 #9FF066 #66F0B7
monochromatic
#C814B8 #EB2EDA #F066E4 #F59EEE #FBD5F8
Accessibility & contrast
On white
2.72
#F066E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#F066E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F066E4
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F066E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F066E4 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F91E8
Deuteranopia (green-blind)
#8BA4E0
Tritanopia (blue-blind)
#F9739C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #f066e4; /* rgb */ color: rgb(240, 102, 228); /* oklch */ color: oklch(72.4% 0.222 331.1);
Tailwind
colors: {
custom: {
50: '#f899ed',
500: '#f066e4',
950: '#000000',
},
}SCSS
$custom: #f066e4; $custom-light: #f899ed; $custom-dark: #000000;
JSON
{
"hex": "#f066e4",
"rgb": {
"r": 240,
"g": 102,
"b": 228
},
"hsl": {
"h": 305.217,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.72396,
"c": 0.2215,
"h": 331.1
},
"luminance": 0.33629
}Semantic roles & 50–950 ramp
primary
#F066E4
secondary
#C3EFC7
accent
#DF1A07
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84