#F06CEF#F06CEF
#F06CEF is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 73.6% C 0.222 H 327.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F06CEF |
|---|---|
| RGB | rgb(240, 108, 239) |
| HSL | hsl(300, 81%, 68%) |
| HSV | hsv(300, 55%, 94%) |
| CMYK | cmyk(0%, 55%, 0.4%, 5.9%) |
| CIE-LAB | lab(66.13, 67.36, -42.92) |
| CIE-LCH | lch(66.13, 79.87, 327.49°) |
| OKLab | oklab(73.62% 0.1878 -0.1181) |
| OKLCH | oklch(73.62% 0.222 327.8) |
| XYZ | xyz(56.8769, 35.4859, 85.4983) |
| Luminance | 0.3548 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.15
Purply Pink
#F075E6
ΔE00 2.41
Violet Pink
#FB5FFC
ΔE00 2.52
Candy Pink
#FF63E9
ΔE00 2.84
Violet (CSS)
#EE82EE
ΔE00 4.07
Orchid
#DA70D6
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F06CEF #6CF06D
analogous
#AF6CF0 #F06CEF #F06CAD
triadic
#F06CEF #EFF06C #6CEFF0
tetradic
#F06CEF #F0AF6C #6CF06D #6CADF0
square
#F06CEF #F0AF6C #6CF06D #6CADF0
split-complementary
#F06CEF #ADF06C #6CF0AF
monochromatic
#CD15CB #EA34E9 #F06CEF #F6A4F5 #FBDBFB
Accessibility & contrast
On white
2.59
#F06CEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#F06CEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F06CEF
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F06CEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F06CEF | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#F77BA4
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f06cef; /* rgb */ color: rgb(240, 108, 239); /* oklch */ color: oklch(73.6% 0.222 327.8);
Tailwind
colors: {
custom: {
50: '#f89cf4',
500: '#f06cef',
950: '#000000',
},
}SCSS
$custom: #f06cef; $custom-light: #f89cf4; $custom-dark: #000000;
JSON
{
"hex": "#f06cef",
"rgb": {
"r": 240,
"g": 108,
"b": 239
},
"hsl": {
"h": 300.455,
"s": 81.481,
"l": 68.235
},
"oklch": {
"l": 0.73623,
"c": 0.22182,
"h": 327.8
},
"luminance": 0.35482
}Semantic roles & 50–950 ramp
primary
#F06CEF
secondary
#C8F0C8
accent
#DE0908
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85