#F066EF#F066EF
#F066EF is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.9% C 0.230 H 327.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #F066EF |
|---|---|
| RGB | rgb(240, 102, 239) |
| HSL | hsl(300, 82%, 67%) |
| HSV | hsv(300, 58%, 94%) |
| CMYK | cmyk(0%, 57.5%, 0.4%, 5.9%) |
| CIE-LAB | lab(65.17, 69.95, -44.42) |
| CIE-LCH | lch(65.17, 82.86, 327.59°) |
| OKLab | oklab(72.93% 0.1951 -0.1224) |
| OKLCH | oklch(72.93% 0.23 327.9) |
| XYZ | xyz(56.2657, 34.2636, 85.2946) |
| Luminance | 0.3426 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.63
Violet Pink
#FB5FFC
ΔE00 2.10
Candy Pink
#FF63E9
ΔE00 2.92
Purply Pink
#F075E6
ΔE00 3.25
Orchid
#DA70D6
ΔE00 4.56
Violet (CSS)
#EE82EE
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F066EF #66F067
analogous
#AC66F0 #F066EF #F066AA
triadic
#F066EF #EFF066 #66EFF0
tetradic
#F066EF #F0AC66 #66F067 #66AAF0
square
#F066EF #F0AC66 #66F067 #66AAF0
split-complementary
#F066EF #AAF066 #66F0AC
monochromatic
#C814C7 #EB2EE9 #F066EF #F59EF5 #FBD5FB
Accessibility & contrast
On white
2.67
#F066EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#F066EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F066EF
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F066EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F066EF | 1.00 | 2.67 | 7.85 | 7.85 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5793F3
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#F776A1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f066ef; /* rgb */ color: rgb(240, 102, 239); /* oklch */ color: oklch(72.9% 0.230 327.9);
Tailwind
colors: {
custom: {
50: '#f899f4',
500: '#f066ef',
950: '#000000',
},
}SCSS
$custom: #f066ef; $custom-light: #f899f4; $custom-dark: #000000;
JSON
{
"hex": "#f066ef",
"rgb": {
"r": 240,
"g": 102,
"b": 239
},
"hsl": {
"h": 300.435,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.72925,
"c": 0.23031,
"h": 327.9
},
"luminance": 0.3426
}Semantic roles & 50–950 ramp
primary
#F066EF
secondary
#C3EFC3
accent
#DF0907
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85