#F172F9#F172F9
#F172F9 is a light, highly saturated purple. Relative luminance 0.376; OKLCH L 75.0% C 0.222 H 325.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #F172F9 |
|---|---|
| RGB | rgb(241, 114, 249) |
| HSL | hsl(296, 92%, 71%) |
| HSV | hsv(296, 54%, 98%) |
| CMYK | cmyk(3.2%, 54.2%, 0%, 2.4%) |
| CIE-LAB | lab(67.71, 66.65, -45.93) |
| CIE-LCH | lch(67.71, 80.94, 325.43°) |
| OKLab | oklab(74.96% 0.1824 -0.1268) |
| OKLCH | oklch(74.96% 0.222 325.2) |
| XYZ | xyz(59.3905, 37.5782, 93.7292) |
| Luminance | 0.3757 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 2.77
Light Magenta
#FA5FF7
ΔE00 2.84
Purply Pink
#F075E6
ΔE00 3.20
Violet (CSS)
#EE82EE
ΔE00 3.61
Candy Pink
#FF63E9
ΔE00 4.06
Orchid
#DA70D6
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172F9 #7AF972
analogous
#AD72F9 #F172F9 #F972BD
triadic
#F172F9 #F9F172 #72F9F1
tetradic
#F172F9 #F9AD72 #7AF972 #72BDF9
square
#F172F9 #F9AD72 #7AF972 #72BDF9
split-complementary
#F172F9 #BDF972 #72F9AD
monochromatic
#DA0AE7 #EB37F7 #F172F9 #F7ADFB #FCE2FE
Accessibility & contrast
On white
2.47
#F172F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#F172F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172F9
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172F9 | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609BFD
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#F683AB
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #f172f9; /* rgb */ color: rgb(241, 114, 249); /* oklch */ color: oklch(75.0% 0.222 325.2);
Tailwind
colors: {
custom: {
50: '#f8a0fc',
500: '#f172f9',
950: '#000000',
},
}SCSS
$custom: #f172f9; $custom-light: #f8a0fc; $custom-dark: #000000;
JSON
{
"hex": "#f172f9",
"rgb": {
"r": 241,
"g": 114,
"b": 249
},
"hsl": {
"h": 296.444,
"s": 91.837,
"l": 71.176
},
"oklch": {
"l": 0.7496,
"c": 0.22217,
"h": 325.2
},
"luminance": 0.37575
}Semantic roles & 50–950 ramp
primary
#F172F9
secondary
#D4F5D2
accent
#E6000E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85