#F171DC#F171DC
#F171DC is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.5% C 0.200 H 334.1°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #F171DC |
|---|---|
| RGB | rgb(241, 113, 220) |
| HSL | hsl(310, 82%, 69%) |
| HSV | hsv(310, 53%, 95%) |
| CMYK | cmyk(0%, 53.1%, 8.7%, 5.5%) |
| CIE-LAB | lab(66.28, 62.27, -32.13) |
| CIE-LCH | lch(66.28, 70.07, 332.71°) |
| OKLab | oklab(73.49% 0.1796 -0.0873) |
| OKLCH | oklch(73.49% 0.2 334.1) |
| XYZ | xyz(55.0991, 35.6822, 71.6815) |
| Luminance | 0.3568 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.82
Candy Pink
#FF63E9
ΔE00 3.03
Orchid
#DA70D6
ΔE00 3.91
Violet (CSS)
#EE82EE
ΔE00 4.13
Lavender Pink
#DD85D7
ΔE00 4.85
Light Magenta
#FA5FF7
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F171DC #71F186
analogous
#C671F1 #F171DC #F1719C
triadic
#F171DC #DCF171 #71DCF1
tetradic
#F171DC #F1C671 #71F186 #719CF1
square
#F171DC #F1C671 #71F186 #719CF1
split-complementary
#F171DC #9CF171 #71F1C6
monochromatic
#D315B4 #EC39CE #F171DC #F6A9EA #FCE0F7
Accessibility & contrast
On white
2.58
#F171DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#F171DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F171DC
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F171DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F171DC | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#95A8D8
Tritanopia (blue-blind)
#FB799D
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f171dc; /* rgb */ color: rgb(241, 113, 220); /* oklch */ color: oklch(73.5% 0.200 334.1);
Tailwind
colors: {
custom: {
50: '#f89fe7',
500: '#f171dc',
950: '#000000',
},
}SCSS
$custom: #f171dc; $custom-light: #f89fe7; $custom-dark: #000000;
JSON
{
"hex": "#f171dc",
"rgb": {
"r": 241,
"g": 113,
"b": 220
},
"hsl": {
"h": 309.844,
"s": 82.051,
"l": 69.412
},
"oklch": {
"l": 0.73494,
"c": 0.1997,
"h": 334.1
},
"luminance": 0.35678
}Semantic roles & 50–950 ramp
primary
#F171DC
secondary
#CCF1D3
accent
#DE2A07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84