#F06CF5#F06CF5
#F06CF5 is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.9% C 0.227 H 326.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F06CF5 |
|---|---|
| RGB | rgb(240, 108, 245) |
| HSL | hsl(298, 87%, 69%) |
| HSV | hsv(298, 56%, 96%) |
| CMYK | cmyk(2%, 55.9%, 0%, 3.9%) |
| CIE-LAB | lab(66.40, 68.37, -45.79) |
| CIE-LCH | lch(66.40, 82.29, 326.19°) |
| OKLab | oklab(73.92% 0.1884 -0.1264) |
| OKLCH | oklch(73.92% 0.227 326.1) |
| XYZ | xyz(57.7780, 35.8463, 90.2442) |
| Luminance | 0.3584 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.99
Violet Pink
#FB5FFC
ΔE00 2.10
Purply Pink
#F075E6
ΔE00 3.17
Candy Pink
#FF63E9
ΔE00 3.50
Violet (CSS)
#EE82EE
ΔE00 4.33
Orchid
#DA70D6
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F06CF5 #71F56C
analogous
#AC6CF5 #F06CF5 #F56CB6
triadic
#F06CF5 #F5F06C #6CF5F0
tetradic
#F06CF5 #F5AC6C #71F56C #6CB6F5
square
#F06CF5 #F5AC6C #71F56C #6CB6F5
split-complementary
#F06CF5 #B6F56C #6CF5AC
monochromatic
#D10FD8 #EA33F1 #F06CF5 #F6A5F9 #FCDFFD
Accessibility & contrast
On white
2.57
#F06CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#F06CF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F06CF5
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F06CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F06CF5 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B97F9
Deuteranopia (green-blind)
#87A7F1
Tritanopia (blue-blind)
#F67DA7
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f06cf5; /* rgb */ color: rgb(240, 108, 245); /* oklch */ color: oklch(73.9% 0.227 326.1);
Tailwind
colors: {
custom: {
50: '#f89cf9',
500: '#f06cf5',
950: '#000000',
},
}SCSS
$custom: #f06cf5; $custom-light: #f89cf9; $custom-dark: #000000;
JSON
{
"hex": "#f06cf5",
"rgb": {
"r": 240,
"g": 108,
"b": 245
},
"hsl": {
"h": 297.81,
"s": 87.261,
"l": 69.216
},
"oklch": {
"l": 0.73916,
"c": 0.22685,
"h": 326.1
},
"luminance": 0.35843
}Semantic roles & 50–950 ramp
primary
#F06CF5
secondary
#CCF2CA
accent
#E4020A
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85