#F170EC#F170EC
#F170EC is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.1% C 0.214 H 329.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #F170EC |
|---|---|
| RGB | rgb(241, 112, 236) |
| HSL | hsl(302, 82%, 69%) |
| HSV | hsv(302, 54%, 95%) |
| CMYK | cmyk(0%, 53.5%, 2.1%, 5.5%) |
| CIE-LAB | lab(66.79, 65.33, -40.22) |
| CIE-LCH | lch(66.79, 76.71, 328.38°) |
| OKLab | oklab(74.09% 0.1834 -0.1103) |
| OKLCH | oklch(74.09% 0.214 329) |
| XYZ | xyz(57.2095, 36.3488, 83.3433) |
| Luminance | 0.3634 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.42
Candy Pink
#FF63E9
ΔE00 2.64
Light Magenta
#FA5FF7
ΔE00 2.90
Violet Pink
#FB5FFC
ΔE00 3.29
Violet (CSS)
#EE82EE
ΔE00 3.29
Orchid
#DA70D6
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F170EC #70F175
analogous
#B670F1 #F170EC #F170AB
triadic
#F170EC #ECF170 #70ECF1
tetradic
#F170EC #F1B670 #70F175 #70ABF1
square
#F170EC #F1B670 #70F175 #70ABF1
split-complementary
#F170EC #ABF170 #70F1B6
monochromatic
#D215CB #EC38E5 #F170EC #F6A8F3 #FCDFFB
Accessibility & contrast
On white
2.54
#F170EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#F170EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F170EC
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F170EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F170EC | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#8EA9E8
Tritanopia (blue-blind)
#F87DA4
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f170ec; /* rgb */ color: rgb(241, 112, 236); /* oklch */ color: oklch(74.1% 0.214 329.0);
Tailwind
colors: {
custom: {
50: '#f89ff2',
500: '#f170ec',
950: '#000000',
},
}SCSS
$custom: #f170ec; $custom-light: #f89ff2; $custom-dark: #000000;
JSON
{
"hex": "#f170ec",
"rgb": {
"r": 241,
"g": 112,
"b": 236
},
"hsl": {
"h": 302.326,
"s": 82.166,
"l": 69.216
},
"oklch": {
"l": 0.74091,
"c": 0.21406,
"h": 329
},
"luminance": 0.36345
}Semantic roles & 50–950 ramp
primary
#F170EC
secondary
#CCF1CD
accent
#DF0F07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85