#F172EF#F172EF
#F172EF is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.214 H 328.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #F172EF |
|---|---|
| RGB | rgb(241, 114, 239) |
| HSL | hsl(301, 82%, 70%) |
| HSV | hsv(301, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 0.8%, 5.5%) |
| CIE-LAB | lab(67.26, 64.93, -41.14) |
| CIE-LCH | lch(67.26, 76.86, 327.64°) |
| OKLab | oklab(74.48% 0.1813 -0.113) |
| OKLCH | oklch(74.48% 0.214 328.1) |
| XYZ | xyz(57.8721, 36.9708, 85.7325) |
| Luminance | 0.3697 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.64
Violet (CSS)
#EE82EE
ΔE00 2.99
Light Magenta
#FA5FF7
ΔE00 2.99
Candy Pink
#FF63E9
ΔE00 3.02
Violet Pink
#FB5FFC
ΔE00 3.27
Orchid
#DA70D6
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172EF #72F174
analogous
#B472F1 #F172EF #F172B0
triadic
#F172EF #EFF172 #72EFF1
tetradic
#F172EF #F1B472 #72F174 #72B0F1
square
#F172EF #F1B472 #72F174 #72B0F1
split-complementary
#F172EF #B0F172 #72F1B4
monochromatic
#D415D1 #EB3AE9 #F172EF #F7AAF5 #FCE1FC
Accessibility & contrast
On white
2.50
#F172EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#F172EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172EF
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172EF | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#8EAAEB
Tritanopia (blue-blind)
#F880A6
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f172ef; /* rgb */ color: rgb(241, 114, 239); /* oklch */ color: oklch(74.5% 0.214 328.1);
Tailwind
colors: {
custom: {
50: '#f8a0f4',
500: '#f172ef',
950: '#000000',
},
}SCSS
$custom: #f172ef; $custom-light: #f8a0f4; $custom-dark: #000000;
JSON
{
"hex": "#f172ef",
"rgb": {
"r": 241,
"g": 114,
"b": 239
},
"hsl": {
"h": 300.945,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.7448,
"c": 0.2136,
"h": 328.1
},
"luminance": 0.36967
}Semantic roles & 50–950 ramp
primary
#F172EF
secondary
#CDF2CE
accent
#DE0B07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85