#D862CD#D862CD
#D862CD is a light, vivid purple. Relative luminance 0.277; OKLCH L 67.7% C 0.194 H 331.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D862CD |
|---|---|
| RGB | rgb(216, 98, 205) |
| HSL | hsl(306, 60%, 62%) |
| HSV | hsv(306, 55%, 85%) |
| CMYK | cmyk(0%, 54.6%, 5.1%, 15.3%) |
| CIE-LAB | lab(59.66, 59.81, -34.25) |
| CIE-LCH | lch(59.66, 68.93, 330.21°) |
| OKLab | oklab(67.71% 0.1701 -0.0936) |
| OKLCH | oklch(67.71% 0.194 331.2) |
| XYZ | xyz(43.7058, 27.7450, 60.7991) |
| Luminance | 0.2774 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.08
Purpleish Pink
#DF4EC8
ΔE00 3.29
Orchid (survey)
#C875C4
ΔE00 4.73
Pinkish Purple
#D648D7
ΔE00 5.20
Purplish Pink
#CE5DAE
ΔE00 5.59
Pinky Purple
#C94CBE
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862CD #62D86D
analogous
#A862D8 #D862CD #D86292
triadic
#D862CD #CDD862 #62CDD8
tetradic
#D862CD #D8A862 #62D86D #6292D8
square
#D862CD #D8A862 #62D86D #6292D8
split-complementary
#D862CD #92D862 #62D8A8
monochromatic
#99268F #CA32BC #D862CD #E493DD #F0C4EC
Accessibility & contrast
On white
3.21
#D862CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#D862CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D862CD
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862CD | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#E06C8F
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d862cd; /* rgb */ color: rgb(216, 98, 205); /* oklch */ color: oklch(67.7% 0.194 331.2);
Tailwind
colors: {
custom: {
50: '#e794dc',
500: '#d862cd',
950: '#000000',
},
}SCSS
$custom: #d862cd; $custom-light: #e794dc; $custom-dark: #000000;
JSON
{
"hex": "#d862cd",
"rgb": {
"r": 216,
"g": 98,
"b": 205
},
"hsl": {
"h": 305.593,
"s": 60.204,
"l": 61.569
},
"oklch": {
"l": 0.67708,
"c": 0.19418,
"h": 331.2
},
"luminance": 0.27742
}Semantic roles & 50–950 ramp
primary
#D862CD
secondary
#B5E1B9
accent
#C82D1E
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83