#F172E6#F172E6
#F172E6 is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.1% C 0.206 H 330.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #F172E6 |
|---|---|
| RGB | rgb(241, 114, 230) |
| HSL | hsl(305, 82%, 70%) |
| HSV | hsv(305, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 4.6%, 5.5%) |
| CIE-LAB | lab(66.86, 63.43, -36.77) |
| CIE-LCH | lch(66.86, 73.31, 329.90°) |
| OKLab | oklab(74.06% 0.18 -0.1005) |
| OKLCH | oklch(74.06% 0.206 330.8) |
| XYZ | xyz(56.5755, 36.4522, 78.9037) |
| Luminance | 0.3645 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.53
Candy Pink
#FF63E9
ΔE00 2.62
Violet (CSS)
#EE82EE
ΔE00 3.11
Light Magenta
#FA5FF7
ΔE00 3.81
Orchid
#DA70D6
ΔE00 4.00
Violet Pink
#FB5FFC
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172E6 #72F17D
analogous
#BD72F1 #F172E6 #F172A7
triadic
#F172E6 #E6F172 #72E6F1
tetradic
#F172E6 #F1BD72 #72F17D #72A7F1
square
#F172E6 #F1BD72 #72F17D #72A7F1
split-complementary
#F172E6 #A7F172 #72F1BD
monochromatic
#D415C3 #EB3ADC #F172E6 #F7AAF0 #FCE1FA
Accessibility & contrast
On white
2.53
#F172E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#F172E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172E6
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172E6 | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C97EA
Deuteranopia (green-blind)
#92A9E2
Tritanopia (blue-blind)
#F97DA2
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f172e6; /* rgb */ color: rgb(241, 114, 230); /* oklch */ color: oklch(74.1% 0.206 330.8);
Tailwind
colors: {
custom: {
50: '#f8a0ee',
500: '#f172e6',
950: '#000000',
},
}SCSS
$custom: #f172e6; $custom-light: #f8a0ee; $custom-dark: #000000;
JSON
{
"hex": "#f172e6",
"rgb": {
"r": 241,
"g": 114,
"b": 230
},
"hsl": {
"h": 305.197,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.74064,
"c": 0.20613,
"h": 330.8
},
"luminance": 0.36449
}Semantic roles & 50–950 ramp
primary
#F172E6
secondary
#CDF2D0
accent
#DE1A07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84