#F06CFB#F06CFB
#F06CFB is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.2% C 0.232 H 324.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #F06CFB |
|---|---|
| RGB | rgb(240, 108, 251) |
| HSL | hsl(295, 95%, 70%) |
| HSV | hsv(295, 57%, 98%) |
| CMYK | cmyk(4.4%, 57%, 0%, 1.6%) |
| CIE-LAB | lab(66.69, 69.41, -48.65) |
| CIE-LCH | lch(66.69, 84.76, 324.98°) |
| OKLab | oklab(74.22% 0.1889 -0.1346) |
| OKLCH | oklch(74.22% 0.232 324.5) |
| XYZ | xyz(58.7089, 36.2186, 95.1466) |
| Luminance | 0.3622 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 2.06
Light Magenta
#FA5FF7
ΔE00 2.25
Purply Pink
#F075E6
ΔE00 3.98
Candy Pink
#FF63E9
ΔE00 4.24
Violet (CSS)
#EE82EE
ΔE00 4.74
Orchid
#DA70D6
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F06CFB #77FB6C
analogous
#A96CFB #F06CFB #FB6CBE
triadic
#F06CFB #FBF06C #6CFBF0
tetradic
#F06CFB #FBA96C #77FB6C #6CBEFB
square
#F06CFB #FBA96C #77FB6C #6CBEFB
split-complementary
#F06CFB #BEFB6C #6CFBA9
monochromatic
#D506E6 #EA30F9 #F06CFB #F6A8FD #FCE1FE
Accessibility & contrast
On white
2.55
#F06CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#F06CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F06CFB
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F06CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F06CFB | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#F57FAA
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f06cfb; /* rgb */ color: rgb(240, 108, 251); /* oklch */ color: oklch(74.2% 0.232 324.5);
Tailwind
colors: {
custom: {
50: '#f89dfd',
500: '#f06cfb',
950: '#000000',
},
}SCSS
$custom: #f06cfb; $custom-light: #f89dfd; $custom-dark: #000000;
JSON
{
"hex": "#f06cfb",
"rgb": {
"r": 240,
"g": 108,
"b": 251
},
"hsl": {
"h": 295.385,
"s": 94.702,
"l": 70.392
},
"oklch": {
"l": 0.74216,
"c": 0.23197,
"h": 324.5
},
"luminance": 0.36215
}Semantic roles & 50–950 ramp
primary
#F06CFB
secondary
#D1F5CE
accent
#E60012
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86