#F06CF2#F06CF2
#F06CF2 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.8% C 0.224 H 327.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F06CF2 |
|---|---|
| RGB | rgb(240, 108, 242) |
| HSL | hsl(299, 84%, 69%) |
| HSV | hsv(299, 55%, 95%) |
| CMYK | cmyk(0.8%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(66.26, 67.86, -44.36) |
| CIE-LCH | lch(66.26, 81.07, 326.83°) |
| OKLab | oklab(73.77% 0.1881 -0.1223) |
| OKLCH | oklch(73.77% 0.224 327) |
| XYZ | xyz(57.3238, 35.6646, 87.8518) |
| Luminance | 0.3566 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.02
Violet Pink
#FB5FFC
ΔE00 2.27
Purply Pink
#F075E6
ΔE00 2.77
Candy Pink
#FF63E9
ΔE00 3.15
Violet (CSS)
#EE82EE
ΔE00 4.18
Orchid
#DA70D6
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F06CF2 #6EF26C
analogous
#AD6CF2 #F06CF2 #F26CB1
triadic
#F06CF2 #F2F06C #6CF2F0
tetradic
#F06CF2 #F2AD6C #6EF26C #6CB1F2
square
#F06CF2 #F2AD6C #6EF26C #6CB1F2
split-complementary
#F06CF2 #B1F26C #6CF2AD
monochromatic
#CE12D1 #EA34ED #F06CF2 #F6A4F7 #FBDCFC
Accessibility & contrast
On white
2.58
#F06CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#F06CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F06CF2
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F06CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F06CF2 | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#F67CA5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f06cf2; /* rgb */ color: rgb(240, 108, 242); /* oklch */ color: oklch(73.8% 0.224 327.0);
Tailwind
colors: {
custom: {
50: '#f89cf7',
500: '#f06cf2',
950: '#000000',
},
}SCSS
$custom: #f06cf2; $custom-light: #f89cf7; $custom-dark: #000000;
JSON
{
"hex": "#f06cf2",
"rgb": {
"r": 240,
"g": 108,
"b": 242
},
"hsl": {
"h": 299.104,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.73769,
"c": 0.22433,
"h": 327
},
"luminance": 0.35661
}Semantic roles & 50–950 ramp
primary
#F06CF2
secondary
#CAF1C9
accent
#E00509
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85