#D971CD#D971CD
#D971CD is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.8% C 0.171 H 331.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D971CD |
|---|---|
| RGB | rgb(217, 113, 205) |
| HSL | hsl(307, 58%, 65%) |
| HSV | hsv(307, 48%, 85%) |
| CMYK | cmyk(0%, 47.9%, 5.5%, 14.9%) |
| CIE-LAB | lab(62.48, 52.95, -29.85) |
| CIE-LCH | lch(62.48, 60.79, 330.59°) |
| OKLab | oklab(69.83% 0.1507 -0.0812) |
| OKLCH | oklch(69.83% 0.171 331.7) |
| XYZ | xyz(45.5395, 30.9725, 61.3254) |
| Luminance | 0.3097 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.71
Orchid (survey)
#C875C4
ΔE00 3.09
Lavender Pink
#DD85D7
ΔE00 4.56
Purply Pink
#F075E6
ΔE00 4.80
Purpleish Pink
#DF4EC8
ΔE00 6.22
Pale Magenta
#D767AD
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D971CD #71D97D
analogous
#B171D9 #D971CD #D97199
triadic
#D971CD #CDD971 #71CDD9
tetradic
#D971CD #D9B171 #71D97D #7199D9
square
#D971CD #D9B171 #71D97D #7199D9
split-complementary
#D971CD #99D971 #71D9B1
monochromatic
#A42C96 #CC41BC #D971CD #E6A1DE #F3D2EF
Accessibility & contrast
On white
2.92
#D971CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#D971CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D971CD
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D971CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D971CD | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D8ED0
Deuteranopia (green-blind)
#8B9CCA
Tritanopia (blue-blind)
#E17896
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #d971cd; /* rgb */ color: rgb(217, 113, 205); /* oklch */ color: oklch(69.8% 0.171 331.7);
Tailwind
colors: {
custom: {
50: '#e79ddc',
500: '#d971cd',
950: '#000000',
},
}SCSS
$custom: #d971cd; $custom-light: #e79ddc; $custom-dark: #000000;
JSON
{
"hex": "#d971cd",
"rgb": {
"r": 217,
"g": 113,
"b": 205
},
"hsl": {
"h": 306.923,
"s": 57.778,
"l": 64.706
},
"oklch": {
"l": 0.69826,
"c": 0.17121,
"h": 331.7
},
"luminance": 0.3097
}Semantic roles & 50–950 ramp
primary
#D971CD
secondary
#C1E5C5
accent
#C53320
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83