#F172E2#F172E2
#F172E2 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.9% C 0.203 H 332.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #F172E2 |
|---|---|
| RGB | rgb(241, 114, 226) |
| HSL | hsl(307, 82%, 70%) |
| HSV | hsv(307, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 6.2%, 5.5%) |
| CIE-LAB | lab(66.70, 62.77, -34.82) |
| CIE-LCH | lch(66.70, 71.78, 330.98°) |
| OKLab | oklab(73.88% 0.1793 -0.0949) |
| OKLCH | oklch(73.88% 0.203 332.1) |
| XYZ | xyz(56.0202, 36.2301, 75.9792) |
| Luminance | 0.3623 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.84
Candy Pink
#FF63E9
ΔE00 2.71
Violet (CSS)
#EE82EE
ΔE00 3.39
Orchid
#DA70D6
ΔE00 3.90
Light Magenta
#FA5FF7
ΔE00 4.31
Violet Pink
#FB5FFC
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172E2 #72F181
analogous
#C172F1 #F172E2 #F172A2
triadic
#F172E2 #E2F172 #72E2F1
tetradic
#F172E2 #F1C172 #72F181 #72A2F1
square
#F172E2 #F1C172 #72F181 #72A2F1
split-complementary
#F172E2 #A2F172 #72F1C1
monochromatic
#D415BD #EB3AD7 #F172E2 #F7AAED #FCE1F9
Accessibility & contrast
On white
2.55
#F172E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#F172E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172E2
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172E2 | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#94A9DE
Tritanopia (blue-blind)
#FA7CA0
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f172e2; /* rgb */ color: rgb(241, 114, 226); /* oklch */ color: oklch(73.9% 0.203 332.1);
Tailwind
colors: {
custom: {
50: '#f8a0eb',
500: '#f172e2',
950: '#000000',
},
}SCSS
$custom: #f172e2; $custom-light: #f8a0eb; $custom-dark: #000000;
JSON
{
"hex": "#f172e2",
"rgb": {
"r": 241,
"g": 114,
"b": 226
},
"hsl": {
"h": 307.087,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.73884,
"c": 0.20291,
"h": 332.1
},
"luminance": 0.36226
}Semantic roles & 50–950 ramp
primary
#F172E2
secondary
#CDF2D2
accent
#DE2107
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84