#D371CD#D371CD
#D371CD is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.1% C 0.167 H 329.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #D371CD |
|---|---|
| RGB | rgb(211, 113, 205) |
| HSL | hsl(304, 53%, 64%) |
| HSV | hsv(304, 46%, 83%) |
| CMYK | cmyk(0%, 46.4%, 2.8%, 17.3%) |
| CIE-LAB | lab(61.71, 51.19, -31.10) |
| CIE-LCH | lch(61.71, 59.90, 328.72°) |
| OKLab | oklab(69.09% 0.144 -0.0849) |
| OKLCH | oklch(69.09% 0.167 329.5) |
| XYZ | xyz(43.7880, 30.0693, 61.2433) |
| Luminance | 0.3007 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.68
Orchid (survey)
#C875C4
ΔE00 2.37
Lavender Pink
#DD85D7
ΔE00 4.97
Purply Pink
#F075E6
ΔE00 5.47
Purpleish Pink
#DF4EC8
ΔE00 6.22
Purplish Pink
#CE5DAE
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D371CD #71D377
analogous
#A871D3 #D371CD #D3719C
triadic
#D371CD #CDD371 #71CDD3
tetradic
#D371CD #D3A871 #71D377 #719CD3
square
#D371CD #D3A871 #71D377 #719CD3
split-complementary
#D371CD #9CD371 #71D3A8
monochromatic
#9A3093 #C542BD #D371CD #E1A0DD #F0CEEE
Accessibility & contrast
On white
2.99
#D371CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.01
#D371CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D371CD
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D371CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D371CD | 1.00 | 2.99 | 7.01 | 7.01 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B8DD0
Deuteranopia (green-blind)
#879ACA
Tritanopia (blue-blind)
#D97996
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d371cd; /* rgb */ color: rgb(211, 113, 205); /* oklch */ color: oklch(69.1% 0.167 329.5);
Tailwind
colors: {
custom: {
50: '#e29ddc',
500: '#d371cd',
950: '#000000',
},
}SCSS
$custom: #d371cd; $custom-light: #e29ddc; $custom-dark: #000000;
JSON
{
"hex": "#d371cd",
"rgb": {
"r": 211,
"g": 113,
"b": 205
},
"hsl": {
"h": 303.673,
"s": 52.688,
"l": 63.529
},
"oklch": {
"l": 0.69091,
"c": 0.16716,
"h": 329.5
},
"luminance": 0.30067
}Semantic roles & 50–950 ramp
primary
#D371CD
secondary
#BFE1C1
accent
#C02F25
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83