#F172DC#F172DC
#F172DC is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.6% C 0.198 H 334.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #F172DC |
|---|---|
| RGB | rgb(241, 114, 220) |
| HSL | hsl(310, 82%, 70%) |
| HSV | hsv(310, 53%, 95%) |
| CMYK | cmyk(0%, 52.7%, 8.7%, 5.5%) |
| CIE-LAB | lab(66.45, 61.81, -31.86) |
| CIE-LCH | lch(66.45, 69.54, 332.73°) |
| OKLab | oklab(73.62% 0.1783 -0.0865) |
| OKLCH | oklch(73.62% 0.198 334.1) |
| XYZ | xyz(55.2113, 35.9065, 71.7189) |
| Luminance | 0.3590 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.80
Candy Pink
#FF63E9
ΔE00 3.15
Orchid
#DA70D6
ΔE00 3.98
Violet (CSS)
#EE82EE
ΔE00 4.03
Lavender Pink
#DD85D7
ΔE00 4.72
Light Magenta
#FA5FF7
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F172DC #72F187
analogous
#C672F1 #F172DC #F1729D
triadic
#F172DC #DCF172 #72DCF1
tetradic
#F172DC #F1C672 #72F187 #729DF1
square
#F172DC #F1C672 #72F187 #729DF1
split-complementary
#F172DC #9DF172 #72F1C6
monochromatic
#D415B4 #EB3ACE #F172DC #F7AAEA #FCE1F8
Accessibility & contrast
On white
2.57
#F172DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#F172DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F172DC
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F172DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F172DC | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#96A8D8
Tritanopia (blue-blind)
#FB7A9D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f172dc; /* rgb */ color: rgb(241, 114, 220); /* oklch */ color: oklch(73.6% 0.198 334.1);
Tailwind
colors: {
custom: {
50: '#f89fe7',
500: '#f172dc',
950: '#000000',
},
}SCSS
$custom: #f172dc; $custom-light: #f89fe7; $custom-dark: #000000;
JSON
{
"hex": "#f172dc",
"rgb": {
"r": 241,
"g": 114,
"b": 220
},
"hsl": {
"h": 309.921,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.73621,
"c": 0.19817,
"h": 334.1
},
"luminance": 0.35903
}Semantic roles & 50–950 ramp
primary
#F172DC
secondary
#CDF2D3
accent
#DE2B07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84