#F870E6#F870E6
#F870E6 is a light, highly saturated purple. Relative luminance 0.373; OKLCH L 74.7% C 0.214 H 332.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #F870E6 |
|---|---|
| RGB | rgb(248, 112, 230) |
| HSL | hsl(308, 91%, 71%) |
| HSV | hsv(308, 55%, 97%) |
| CMYK | cmyk(0%, 54.8%, 7.3%, 2.7%) |
| CIE-LAB | lab(67.47, 66.21, -35.75) |
| CIE-LCH | lch(67.47, 75.25, 331.63°) |
| OKLab | oklab(74.71% 0.19 -0.0975) |
| OKLCH | oklch(74.71% 0.214 332.8) |
| XYZ | xyz(58.7885, 37.2621, 78.9435) |
| Luminance | 0.3726 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.37
Candy Pink
#FF63E9
ΔE00 1.98
Violet (CSS)
#EE82EE
ΔE00 3.60
Light Magenta
#FA5FF7
ΔE00 3.92
Violet Pink
#FB5FFC
ΔE00 4.40
Orchid
#DA70D6
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F870E6 #70F882
analogous
#C670F8 #F870E6 #F870A2
triadic
#F870E6 #E6F870 #70E6F8
tetradic
#F870E6 #F8C670 #70F882 #70A2F8
square
#F870E6 #F8C670 #70F882 #70A2F8
split-complementary
#F870E6 #A2F870 #70F8C6
monochromatic
#E30BC6 #F536DC #F870E6 #FBAAF0 #FEE2FA
Accessibility & contrast
On white
2.48
#F870E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#F870E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F870E6
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F870E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F870E6 | 1.00 | 2.48 | 8.45 | 8.45 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C98EA
Deuteranopia (green-blind)
#96ABE2
Tritanopia (blue-blind)
#FF7AA1
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f870e6; /* rgb */ color: rgb(248, 112, 230); /* oklch */ color: oklch(74.7% 0.214 332.8);
Tailwind
colors: {
custom: {
50: '#fd9fee',
500: '#f870e6',
950: '#000000',
},
}SCSS
$custom: #f870e6; $custom-light: #fd9fee; $custom-dark: #000000;
JSON
{
"hex": "#f870e6",
"rgb": {
"r": 248,
"g": 112,
"b": 230
},
"hsl": {
"h": 307.941,
"s": 90.667,
"l": 70.588
},
"oklch": {
"l": 0.74705,
"c": 0.21355,
"h": 332.8
},
"luminance": 0.37258
}Semantic roles & 50–950 ramp
primary
#F870E6
secondary
#CFF4D4
accent
#E61E00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84