#F172DF#F172DF
#F172DF is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 73.8% C 0.201 H 333.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #F172DF |
|---|---|
| RGB | rgb(241, 114, 223) |
| HSL | hsl(309, 82%, 70%) |
| HSV | hsv(309, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 7.5%, 5.5%) |
| CIE-LAB | lab(66.57, 62.29, -33.34) |
| CIE-LCH | lch(66.57, 70.65, 331.84°) |
| OKLab | oklab(73.75% 0.1788 -0.0907) |
| OKLCH | oklch(73.75% 0.201 333.1) |
| XYZ | xyz(55.6122, 36.0669, 73.8302) |
| Luminance | 0.3606 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.30
Candy Pink
#FF63E9
ΔE00 2.89
Violet (CSS)
#EE82EE
ΔE00 3.68
Orchid
#DA70D6
ΔE00 3.90
Light Magenta
#FA5FF7
ΔE00 4.72
Lavender Pink
#DD85D7
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172DF #72F184
analogous
#C472F1 #F172DF #F172A0
triadic
#F172DF #DFF172 #72DFF1
tetradic
#F172DF #F1C472 #72F184 #72A0F1
square
#F172DF #F1C472 #72F184 #72A0F1
split-complementary
#F172DF #A0F172 #72F1C4
monochromatic
#D415B9 #EB3AD2 #F172DF #F7AAEC #FCE1F8
Accessibility & contrast
On white
2.56
#F172DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#F172DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172DF
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172DF | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F96E3
Deuteranopia (green-blind)
#95A9DB
Tritanopia (blue-blind)
#FA7B9F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f172df; /* rgb */ color: rgb(241, 114, 223); /* oklch */ color: oklch(73.8% 0.201 333.1);
Tailwind
colors: {
custom: {
50: '#f8a0e9',
500: '#f172df',
950: '#000000',
},
}SCSS
$custom: #f172df; $custom-light: #f8a0e9; $custom-dark: #000000;
JSON
{
"hex": "#f172df",
"rgb": {
"r": 241,
"g": 114,
"b": 223
},
"hsl": {
"h": 308.504,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.73752,
"c": 0.20052,
"h": 333.1
},
"luminance": 0.36063
}Semantic roles & 50–950 ramp
primary
#F172DF
secondary
#CDF2D2
accent
#DE2607
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84