#F172E1#F172E1
#F172E1 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.8% C 0.202 H 332.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F172E1 |
|---|---|
| RGB | rgb(241, 114, 225) |
| HSL | hsl(308, 82%, 70%) |
| HSV | hsv(308, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 6.6%, 5.5%) |
| CIE-LAB | lab(66.65, 62.61, -34.33) |
| CIE-LCH | lch(66.65, 71.40, 331.27°) |
| OKLab | oklab(73.84% 0.1792 -0.0935) |
| OKLCH | oklch(73.84% 0.202 332.4) |
| XYZ | xyz(55.8834, 36.1754, 75.2587) |
| Luminance | 0.3617 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.98
Candy Pink
#FF63E9
ΔE00 2.76
Violet (CSS)
#EE82EE
ΔE00 3.48
Orchid
#DA70D6
ΔE00 3.89
Light Magenta
#FA5FF7
ΔE00 4.44
Lavender Pink
#DD85D7
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172E1 #72F182
analogous
#C272F1 #F172E1 #F172A2
triadic
#F172E1 #E1F172 #72E1F1
tetradic
#F172E1 #F1C272 #72F182 #72A2F1
square
#F172E1 #F1C272 #72F182 #72A2F1
split-complementary
#F172E1 #A2F172 #72F1C2
monochromatic
#D415BC #EB3AD5 #F172E1 #F7AAED #FCE1F9
Accessibility & contrast
On white
2.55
#F172E1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#F172E1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172E1
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172E1 | 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)
#6E97E5
Deuteranopia (green-blind)
#94A9DD
Tritanopia (blue-blind)
#FA7BA0
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f172e1; /* rgb */ color: rgb(241, 114, 225); /* oklch */ color: oklch(73.8% 0.202 332.4);
Tailwind
colors: {
custom: {
50: '#f8a0ea',
500: '#f172e1',
950: '#000000',
},
}SCSS
$custom: #f172e1; $custom-light: #f8a0ea; $custom-dark: #000000;
JSON
{
"hex": "#f172e1",
"rgb": {
"r": 241,
"g": 114,
"b": 225
},
"hsl": {
"h": 307.559,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.7384,
"c": 0.2021,
"h": 332.4
},
"luminance": 0.36172
}Semantic roles & 50–950 ramp
primary
#F172E1
secondary
#CDF2D2
accent
#DE2207
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84