#F06CFA#F06CFA
#F06CFA is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.2% C 0.231 H 324.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F06CFA |
|---|---|
| RGB | rgb(240, 108, 250) |
| HSL | hsl(296, 93%, 70%) |
| HSV | hsv(296, 57%, 98%) |
| CMYK | cmyk(4%, 56.8%, 0%, 2%) |
| CIE-LAB | lab(66.64, 69.24, -48.17) |
| CIE-LCH | lch(66.64, 84.35, 325.17°) |
| OKLab | oklab(74.17% 0.1888 -0.1333) |
| OKLCH | oklch(74.17% 0.231 324.8) |
| XYZ | xyz(58.5516, 36.1558, 94.3186) |
| Luminance | 0.3615 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 2.04
Light Magenta
#FA5FF7
ΔE00 2.18
Purply Pink
#F075E6
ΔE00 3.84
Candy Pink
#FF63E9
ΔE00 4.11
Violet (CSS)
#EE82EE
ΔE00 4.66
Orchid
#DA70D6
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F06CFA #76FA6C
analogous
#A96CFA #F06CFA #FA6CBD
triadic
#F06CFA #FAF06C #6CFAF0
tetradic
#F06CFA #FAA96C #76FA6C #6CBDFA
square
#F06CFA #FAA96C #76FA6C #6CBDFA
split-complementary
#F06CFA #BDFA6C #6CFAA9
monochromatic
#D408E4 #EA31F8 #F06CFA #F6A7FC #FCE1FE
Accessibility & contrast
On white
2.55
#F06CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#F06CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F06CFA
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F06CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F06CFA | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#F57FA9
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f06cfa; /* rgb */ color: rgb(240, 108, 250); /* oklch */ color: oklch(74.2% 0.231 324.8);
Tailwind
colors: {
custom: {
50: '#f89dfc',
500: '#f06cfa',
950: '#000000',
},
}SCSS
$custom: #f06cfa; $custom-light: #f89dfc; $custom-dark: #000000;
JSON
{
"hex": "#f06cfa",
"rgb": {
"r": 240,
"g": 108,
"b": 250
},
"hsl": {
"h": 295.775,
"s": 93.421,
"l": 70.196
},
"oklch": {
"l": 0.74166,
"c": 0.23111,
"h": 324.8
},
"luminance": 0.36153
}Semantic roles & 50–950 ramp
primary
#F06CFA
secondary
#D0F5CD
accent
#E60010
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85