#F06CFE#F06CFE
#F06CFE is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.4% C 0.235 H 323.7°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #F06CFE |
|---|---|
| RGB | rgb(240, 108, 254) |
| HSL | hsl(294, 99%, 71%) |
| HSV | hsv(294, 57%, 100%) |
| CMYK | cmyk(5.5%, 57.5%, 0%, 0.4%) |
| CIE-LAB | lab(66.83, 69.94, -50.06) |
| CIE-LCH | lch(66.83, 86.01, 324.40°) |
| OKLab | oklab(74.37% 0.1891 -0.1388) |
| OKLCH | oklch(74.37% 0.235 323.7) |
| XYZ | xyz(59.1855, 36.4093, 97.6569) |
| Luminance | 0.3641 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 2.19
Light Magenta
#FA5FF7
ΔE00 2.49
Purply Pink
#F075E6
ΔE00 4.39
Candy Pink
#FF63E9
ΔE00 4.62
Violet (CSS)
#EE82EE
ΔE00 4.99
Orchid
#DA70D6
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F06CFE #7AFE6C
analogous
#A76CFE #F06CFE #FE6CC3
triadic
#F06CFE #FEF06C #6CFEF0
tetradic
#F06CFE #FEA76C #7AFE6C #6CC3FE
square
#F06CFE #FEA76C #7AFE6C #6CC3FE
split-complementary
#F06CFE #C3FE6C #6CFEA7
monochromatic
#D702EE #EA2FFE #F06CFE #F6A9FE #FCE1FF
Accessibility & contrast
On white
2.54
#F06CFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#F06CFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F06CFE
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F06CFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F06CFE | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#F480AB
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f06cfe; /* rgb */ color: rgb(240, 108, 254); /* oklch */ color: oklch(74.4% 0.235 323.7);
Tailwind
colors: {
custom: {
50: '#f89dff',
500: '#f06cfe',
950: '#000000',
},
}SCSS
$custom: #f06cfe; $custom-light: #f89dff; $custom-dark: #000000;
JSON
{
"hex": "#f06cfe",
"rgb": {
"r": 240,
"g": 108,
"b": 254
},
"hsl": {
"h": 294.247,
"s": 98.649,
"l": 70.98
},
"oklch": {
"l": 0.74369,
"c": 0.23456,
"h": 323.7
},
"luminance": 0.36406
}Semantic roles & 50–950 ramp
primary
#F06CFE
secondary
#D3F6CF
accent
#E60016
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86