#F172EB#F172EB
#F172EB is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.3% C 0.210 H 329.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #F172EB |
|---|---|
| RGB | rgb(241, 114, 235) |
| HSL | hsl(303, 82%, 70%) |
| HSV | hsv(303, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 2.5%, 5.5%) |
| CIE-LAB | lab(67.08, 64.25, -39.20) |
| CIE-LCH | lch(67.08, 75.27, 328.61°) |
| OKLab | oklab(74.29% 0.1807 -0.1075) |
| OKLCH | oklch(74.29% 0.21 329.3) |
| XYZ | xyz(57.2877, 36.7371, 82.6547) |
| Luminance | 0.3673 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.03
Candy Pink
#FF63E9
ΔE00 2.75
Violet (CSS)
#EE82EE
ΔE00 2.95
Light Magenta
#FA5FF7
ΔE00 3.29
Violet Pink
#FB5FFC
ΔE00 3.67
Orchid
#DA70D6
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172EB #72F178
analogous
#B872F1 #F172EB #F172AB
triadic
#F172EB #EBF172 #72EBF1
tetradic
#F172EB #F1B872 #72F178 #72ABF1
square
#F172EB #F1B872 #72F178 #72ABF1
split-complementary
#F172EB #ABF172 #72F1B8
monochromatic
#D415CB #EB3AE3 #F172EB #F7AAF3 #FCE1FB
Accessibility & contrast
On white
2.52
#F172EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#F172EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172EB
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172EB | 1.00 | 2.52 | 8.35 | 8.35 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#90A9E7
Tritanopia (blue-blind)
#F87EA4
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f172eb; /* rgb */ color: rgb(241, 114, 235); /* oklch */ color: oklch(74.3% 0.210 329.3);
Tailwind
colors: {
custom: {
50: '#f8a0f2',
500: '#f172eb',
950: '#000000',
},
}SCSS
$custom: #f172eb; $custom-light: #f8a0f2; $custom-dark: #000000;
JSON
{
"hex": "#f172eb",
"rgb": {
"r": 241,
"g": 114,
"b": 235
},
"hsl": {
"h": 302.835,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.74293,
"c": 0.21025,
"h": 329.3
},
"luminance": 0.36734
}Semantic roles & 50–950 ramp
primary
#F172EB
secondary
#CDF2CF
accent
#DE1107
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85