#F172E4#F172E4
#F172E4 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.0% C 0.205 H 331.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #F172E4 |
|---|---|
| RGB | rgb(241, 114, 228) |
| HSL | hsl(306, 82%, 70%) |
| HSV | hsv(306, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 5.4%, 5.5%) |
| CIE-LAB | lab(66.78, 63.10, -35.80) |
| CIE-LCH | lch(66.78, 72.54, 330.43°) |
| OKLab | oklab(73.97% 0.1797 -0.0977) |
| OKLCH | oklch(73.97% 0.205 331.5) |
| XYZ | xyz(56.2962, 36.3405, 77.4330) |
| Luminance | 0.3634 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.61
Candy Pink
#FF63E9
ΔE00 2.64
Violet (CSS)
#EE82EE
ΔE00 3.24
Orchid
#DA70D6
ΔE00 3.94
Light Magenta
#FA5FF7
ΔE00 4.05
Violet Pink
#FB5FFC
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172E4 #72F17F
analogous
#BF72F1 #F172E4 #F172A4
triadic
#F172E4 #E4F172 #72E4F1
tetradic
#F172E4 #F1BF72 #72F17F #72A4F1
square
#F172E4 #F1BF72 #72F17F #72A4F1
split-complementary
#F172E4 #A4F172 #72F1BF
monochromatic
#D415C0 #EB3AD9 #F172E4 #F7AAEF #FCE1F9
Accessibility & contrast
On white
2.54
#F172E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#F172E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172E4
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172E4 | 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)
#6D97E8
Deuteranopia (green-blind)
#93A9E0
Tritanopia (blue-blind)
#FA7CA1
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f172e4; /* rgb */ color: rgb(241, 114, 228); /* oklch */ color: oklch(74.0% 0.205 331.5);
Tailwind
colors: {
custom: {
50: '#f8a0ed',
500: '#f172e4',
950: '#000000',
},
}SCSS
$custom: #f172e4; $custom-light: #f8a0ed; $custom-dark: #000000;
JSON
{
"hex": "#f172e4",
"rgb": {
"r": 241,
"g": 114,
"b": 228
},
"hsl": {
"h": 306.142,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.73974,
"c": 0.20452,
"h": 331.5
},
"luminance": 0.36337
}Semantic roles & 50–950 ramp
primary
#F172E4
secondary
#CDF2D1
accent
#DE1D07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84