#F171F9#F171F9
#F171F9 is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.8% C 0.224 H 325.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #F171F9 |
|---|---|
| RGB | rgb(241, 113, 249) |
| HSL | hsl(296, 92%, 71%) |
| HSV | hsv(296, 55%, 98%) |
| CMYK | cmyk(3.2%, 54.6%, 0%, 2.4%) |
| CIE-LAB | lab(67.54, 67.10, -46.19) |
| CIE-LCH | lch(67.54, 81.46, 325.46°) |
| OKLab | oklab(74.84% 0.1837 -0.1276) |
| OKLCH | oklch(74.84% 0.224 325.2) |
| XYZ | xyz(59.2783, 37.3538, 93.6918) |
| Luminance | 0.3735 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 2.62
Light Magenta
#FA5FF7
ΔE00 2.70
Purply Pink
#F075E6
ΔE00 3.25
Violet (CSS)
#EE82EE
ΔE00 3.76
Candy Pink
#FF63E9
ΔE00 4.01
Orchid
#DA70D6
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F171F9 #79F971
analogous
#AD71F9 #F171F9 #F971BD
triadic
#F171F9 #F9F171 #71F9F1
tetradic
#F171F9 #F9AD71 #79F971 #71BDF9
square
#F171F9 #F9AD71 #79F971 #71BDF9
split-complementary
#F171F9 #BDF971 #71F9AD
monochromatic
#D90AE6 #EB36F7 #F171F9 #F7ACFB #FCE2FE
Accessibility & contrast
On white
2.48
#F171F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#F171F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F171F9
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F171F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F171F9 | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9AFD
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#F682AB
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f171f9; /* rgb */ color: rgb(241, 113, 249); /* oklch */ color: oklch(74.8% 0.224 325.2);
Tailwind
colors: {
custom: {
50: '#f89ffc',
500: '#f171f9',
950: '#000000',
},
}SCSS
$custom: #f171f9; $custom-light: #f89ffc; $custom-dark: #000000;
JSON
{
"hex": "#f171f9",
"rgb": {
"r": 241,
"g": 113,
"b": 249
},
"hsl": {
"h": 296.471,
"s": 91.892,
"l": 70.98
},
"oklch": {
"l": 0.74838,
"c": 0.22362,
"h": 325.2
},
"luminance": 0.37351
}Semantic roles & 50–950 ramp
primary
#F171F9
secondary
#D3F5D1
accent
#E6000D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85