#F172F8#F172F8
#F172F8 is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 74.9% C 0.221 H 325.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #F172F8 |
|---|---|
| RGB | rgb(241, 114, 248) |
| HSL | hsl(297, 91%, 71%) |
| HSV | hsv(297, 54%, 97%) |
| CMYK | cmyk(2.8%, 54%, 0%, 2.7%) |
| CIE-LAB | lab(67.66, 66.47, -45.45) |
| CIE-LCH | lch(67.66, 80.53, 325.64°) |
| OKLab | oklab(74.91% 0.1823 -0.1254) |
| OKLCH | oklch(74.91% 0.221 325.5) |
| XYZ | xyz(59.2349, 37.5160, 92.9100) |
| Luminance | 0.3751 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 2.79
Light Magenta
#FA5FF7
ΔE00 2.82
Purply Pink
#F075E6
ΔE00 3.04
Violet (CSS)
#EE82EE
ΔE00 3.52
Candy Pink
#FF63E9
ΔE00 3.94
Orchid
#DA70D6
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172F8 #79F872
analogous
#AE72F8 #F172F8 #F872BC
triadic
#F172F8 #F8F172 #72F8F1
tetradic
#F172F8 #F8AE72 #79F872 #72BCF8
square
#F172F8 #F8AE72 #79F872 #72BCF8
split-complementary
#F172F8 #BCF872 #72F8AE
monochromatic
#D90BE4 #EB38F5 #F172F8 #F7ACFB #FCE2FE
Accessibility & contrast
On white
2.47
#F172F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#F172F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172F8
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172F8 | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#8AAAF4
Tritanopia (blue-blind)
#F683AB
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #f172f8; /* rgb */ color: rgb(241, 114, 248); /* oklch */ color: oklch(74.9% 0.221 325.5);
Tailwind
colors: {
custom: {
50: '#f8a0fb',
500: '#f172f8',
950: '#000000',
},
}SCSS
$custom: #f172f8; $custom-light: #f8a0fb; $custom-dark: #000000;
JSON
{
"hex": "#f172f8",
"rgb": {
"r": 241,
"g": 114,
"b": 248
},
"hsl": {
"h": 296.866,
"s": 90.541,
"l": 70.98
},
"oklch": {
"l": 0.74911,
"c": 0.22129,
"h": 325.5
},
"luminance": 0.37513
}Semantic roles & 50–950 ramp
primary
#F172F8
secondary
#D3F5D1
accent
#E6000C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85