#F172E5#F172E5
#F172E5 is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.0% C 0.205 H 331.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #F172E5 |
|---|---|
| RGB | rgb(241, 114, 229) |
| HSL | hsl(306, 82%, 70%) |
| HSV | hsv(306, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 5%, 5.5%) |
| CIE-LAB | lab(66.82, 63.26, -36.29) |
| CIE-LCH | lch(66.82, 72.93, 330.16°) |
| OKLab | oklab(74.02% 0.1798 -0.0991) |
| OKLCH | oklch(74.02% 0.205 331.1) |
| XYZ | xyz(56.4355, 36.3962, 78.1662) |
| Luminance | 0.3639 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.54
Candy Pink
#FF63E9
ΔE00 2.62
Violet (CSS)
#EE82EE
ΔE00 3.17
Light Magenta
#FA5FF7
ΔE00 3.92
Orchid
#DA70D6
ΔE00 3.97
Violet Pink
#FB5FFC
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172E5 #72F17E
analogous
#BD72F1 #F172E5 #F172A6
triadic
#F172E5 #E5F172 #72E5F1
tetradic
#F172E5 #F1BD72 #72F17E #72A6F1
square
#F172E5 #F1BD72 #72F17E #72A6F1
split-complementary
#F172E5 #A6F172 #72F1BD
monochromatic
#D415C2 #EB3ADB #F172E5 #F7AAEF #FCE1FA
Accessibility & contrast
On white
2.54
#F172E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#F172E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172E5
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172E5 | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C97E9
Deuteranopia (green-blind)
#92A9E1
Tritanopia (blue-blind)
#F97CA1
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f172e5; /* rgb */ color: rgb(241, 114, 229); /* oklch */ color: oklch(74.0% 0.205 331.1);
Tailwind
colors: {
custom: {
50: '#f8a0ed',
500: '#f172e5',
950: '#000000',
},
}SCSS
$custom: #f172e5; $custom-light: #f8a0ed; $custom-dark: #000000;
JSON
{
"hex": "#f172e5",
"rgb": {
"r": 241,
"g": 114,
"b": 229
},
"hsl": {
"h": 305.669,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.74019,
"c": 0.20533,
"h": 331.1
},
"luminance": 0.36393
}Semantic roles & 50–950 ramp
primary
#F172E5
secondary
#CDF2D1
accent
#DE1C07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84