#F172F2#F172F2
#F172F2 is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.6% C 0.216 H 327.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #F172F2 |
|---|---|
| RGB | rgb(241, 114, 242) |
| HSL | hsl(300, 83%, 70%) |
| HSV | hsv(300, 53%, 95%) |
| CMYK | cmyk(0.4%, 52.9%, 0%, 5.1%) |
| CIE-LAB | lab(67.39, 65.44, -42.58) |
| CIE-LCH | lch(67.39, 78.07, 326.95°) |
| OKLab | oklab(74.62% 0.1816 -0.1172) |
| OKLCH | oklch(74.62% 0.216 327.2) |
| XYZ | xyz(58.3190, 37.1496, 88.0860) |
| Luminance | 0.3715 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.11
Light Magenta
#FA5FF7
ΔE00 2.85
Violet Pink
#FB5FFC
ΔE00 3.04
Violet (CSS)
#EE82EE
ΔE00 3.11
Candy Pink
#FF63E9
ΔE00 3.29
Orchid
#DA70D6
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172F2 #73F272
analogous
#B172F2 #F172F2 #F272B3
triadic
#F172F2 #F2F172 #72F2F1
tetradic
#F172F2 #F2B172 #73F272 #72B3F2
square
#F172F2 #F2B172 #73F272 #72B3F2
split-complementary
#F172F2 #B3F272 #72F2B1
monochromatic
#D414D6 #EB3AED #F172F2 #F7AAF7 #FCE2FC
Accessibility & contrast
On white
2.49
#F172F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#F172F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172F2
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172F2 | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#F781A8
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f172f2; /* rgb */ color: rgb(241, 114, 242); /* oklch */ color: oklch(74.6% 0.216 327.2);
Tailwind
colors: {
custom: {
50: '#f8a0f7',
500: '#f172f2',
950: '#000000',
},
}SCSS
$custom: #f172f2; $custom-light: #f8a0f7; $custom-dark: #000000;
JSON
{
"hex": "#f172f2",
"rgb": {
"r": 241,
"g": 114,
"b": 242
},
"hsl": {
"h": 299.531,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.74622,
"c": 0.21614,
"h": 327.2
},
"luminance": 0.37146
}Semantic roles & 50–950 ramp
primary
#F172F2
secondary
#CEF2CE
accent
#E00608
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85