#F870E2#F870E2
#F870E2 is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.210 H 334.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #F870E2 |
|---|---|
| RGB | rgb(248, 112, 226) |
| HSL | hsl(310, 91%, 71%) |
| HSV | hsv(310, 55%, 97%) |
| CMYK | cmyk(0%, 54.8%, 8.9%, 2.7%) |
| CIE-LAB | lab(67.31, 65.58, -33.79) |
| CIE-LCH | lch(67.31, 73.78, 332.74°) |
| OKLab | oklab(74.53% 0.1894 -0.0919) |
| OKLCH | oklch(74.53% 0.21 334.1) |
| XYZ | xyz(58.2332, 37.0400, 76.0191) |
| Luminance | 0.3704 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.71
Candy Pink
#FF63E9
ΔE00 2.23
Violet (CSS)
#EE82EE
ΔE00 3.93
Light Magenta
#FA5FF7
ΔE00 4.47
Orchid
#DA70D6
ΔE00 4.88
Violet Pink
#FB5FFC
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F870E2 #70F886
analogous
#CA70F8 #F870E2 #F8709E
triadic
#F870E2 #E2F870 #70E2F8
tetradic
#F870E2 #F8CA70 #70F886 #709EF8
square
#F870E2 #F8CA70 #70F886 #709EF8
split-complementary
#F870E2 #9EF870 #70F8CA
monochromatic
#E30BC0 #F536D6 #F870E2 #FBAAEE #FEE2F9
Accessibility & contrast
On white
2.50
#F870E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#F870E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F870E2
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F870E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F870E2 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#97ABDE
Tritanopia (blue-blind)
#FF789F
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f870e2; /* rgb */ color: rgb(248, 112, 226); /* oklch */ color: oklch(74.5% 0.210 334.1);
Tailwind
colors: {
custom: {
50: '#fd9feb',
500: '#f870e2',
950: '#000000',
},
}SCSS
$custom: #f870e2; $custom-light: #fd9feb; $custom-dark: #000000;
JSON
{
"hex": "#f870e2",
"rgb": {
"r": 248,
"g": 112,
"b": 226
},
"hsl": {
"h": 309.706,
"s": 90.667,
"l": 70.588
},
"oklch": {
"l": 0.74529,
"c": 0.21046,
"h": 334.1
},
"luminance": 0.37036
}Semantic roles & 50–950 ramp
primary
#F870E2
secondary
#CFF4D5
accent
#E62500
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84