#D170CF#D170CF
#D170CF is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.8% C 0.169 H 328.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D170CF |
|---|---|
| RGB | rgb(209, 112, 207) |
| HSL | hsl(301, 51%, 63%) |
| HSV | hsv(301, 46%, 82%) |
| CMYK | cmyk(0%, 46.4%, 1%, 18%) |
| CIE-LAB | lab(61.35, 51.46, -32.81) |
| CIE-LCH | lch(61.35, 61.03, 327.48°) |
| OKLab | oklab(68.8% 0.1435 -0.0898) |
| OKLCH | oklch(68.8% 0.169 328) |
| XYZ | xyz(43.3505, 29.6510, 62.4592) |
| Luminance | 0.2965 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.66
Orchid (survey)
#C875C4
ΔE00 2.58
Lavender Pink
#DD85D7
ΔE00 5.40
Purply Pink
#F075E6
ΔE00 5.67
Purpleish Pink
#DF4EC8
ΔE00 6.11
Purplish Pink
#CE5DAE
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D170CF #70D172
analogous
#A270D1 #D170CF #D1709E
triadic
#D170CF #CFD170 #70CFD1
tetradic
#D170CF #D1A270 #70D172 #709ED1
square
#D170CF #D1A270 #70D172 #709ED1
split-complementary
#D170CF #9ED170 #70D1A2
monochromatic
#963094 #C242BF #D170CF #E09EDF #EFCDEE
Accessibility & contrast
On white
3.03
#D170CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#D170CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D170CF
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D170CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D170CF | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#688CD2
Deuteranopia (green-blind)
#8499CC
Tritanopia (blue-blind)
#D77A96
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d170cf; /* rgb */ color: rgb(209, 112, 207); /* oklch */ color: oklch(68.8% 0.169 328.0);
Tailwind
colors: {
custom: {
50: '#e19cde',
500: '#d170cf',
950: '#000000',
},
}SCSS
$custom: #d170cf; $custom-light: #e19cde; $custom-dark: #000000;
JSON
{
"hex": "#d170cf",
"rgb": {
"r": 209,
"g": 112,
"b": 207
},
"hsl": {
"h": 301.237,
"s": 51.323,
"l": 62.941
},
"oklch": {
"l": 0.68796,
"c": 0.1693,
"h": 328
},
"luminance": 0.29649
}Semantic roles & 50–950 ramp
primary
#D170CF
secondary
#BDE0BE
accent
#BF2A27
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83