#F170E4#F170E4
#F170E4 is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.7% C 0.208 H 331.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #F170E4 |
|---|---|
| RGB | rgb(241, 112, 228) |
| HSL | hsl(306, 82%, 69%) |
| HSV | hsv(306, 54%, 95%) |
| CMYK | cmyk(0%, 53.5%, 5.4%, 5.5%) |
| CIE-LAB | lab(66.44, 64.01, -36.33) |
| CIE-LCH | lch(66.44, 73.60, 330.42°) |
| OKLab | oklab(73.72% 0.1823 -0.0992) |
| OKLCH | oklch(73.72% 0.208 331.4) |
| XYZ | xyz(56.0731, 35.8942, 77.3586) |
| Luminance | 0.3589 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.90
Candy Pink
#FF63E9
ΔE00 2.42
Violet (CSS)
#EE82EE
ΔE00 3.53
Light Magenta
#FA5FF7
ΔE00 3.78
Orchid
#DA70D6
ΔE00 3.83
Violet Pink
#FB5FFC
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F170E4 #70F17D
analogous
#BE70F1 #F170E4 #F170A3
triadic
#F170E4 #E4F170 #70E4F1
tetradic
#F170E4 #F1BE70 #70F17D #70A3F1
square
#F170E4 #F1BE70 #70F17D #70A3F1
split-complementary
#F170E4 #A3F170 #70F1BE
monochromatic
#D215BF #EC38D9 #F170E4 #F6A8EF #FCDFF9
Accessibility & contrast
On white
2.57
#F170E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#F170E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F170E4
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F170E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F170E4 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A96E8
Deuteranopia (green-blind)
#92A8E0
Tritanopia (blue-blind)
#FA7BA0
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f170e4; /* rgb */ color: rgb(241, 112, 228); /* oklch */ color: oklch(73.7% 0.208 331.4);
Tailwind
colors: {
custom: {
50: '#f89eed',
500: '#f170e4',
950: '#000000',
},
}SCSS
$custom: #f170e4; $custom-light: #f89eed; $custom-dark: #000000;
JSON
{
"hex": "#f170e4",
"rgb": {
"r": 241,
"g": 112,
"b": 228
},
"hsl": {
"h": 306.047,
"s": 82.166,
"l": 69.216
},
"oklch": {
"l": 0.73723,
"c": 0.20752,
"h": 331.4
},
"luminance": 0.35891
}Semantic roles & 50–950 ramp
primary
#F170E4
secondary
#CCF1CF
accent
#DF1D07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84