#CD56D2#CD56D2
#CD56D2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.1% C 0.210 H 326.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CD56D2 |
|---|---|
| RGB | rgb(205, 86, 210) |
| HSL | hsl(298, 58%, 58%) |
| HSV | hsv(298, 59%, 82%) |
| CMYK | cmyk(2.4%, 59%, 0%, 17.6%) |
| CIE-LAB | lab(56.38, 63.15, -42.34) |
| CIE-LCH | lch(56.38, 76.03, 326.16°) |
| OKLab | oklab(65.07% 0.1738 -0.117) |
| OKLCH | oklch(65.07% 0.21 326) |
| XYZ | xyz(40.1367, 24.2903, 63.5347) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.13
Pinky Purple
#C94CBE
ΔE00 3.84
Mediumorchid
#BA55D3
ΔE00 3.87
Purpleish Pink
#DF4EC8
ΔE00 4.00
Heliotrope
#D94FF5
ΔE00 5.10
Purple Pink
#D725DE
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD56D2 #5BD256
analogous
#8F56D2 #CD56D2 #D25699
triadic
#CD56D2 #D2CD56 #56D2CD
tetradic
#CD56D2 #D28F56 #5BD256 #5699D2
square
#CD56D2 #D28F56 #5BD256 #5699D2
split-complementary
#CD56D2 #99D256 #56D28F
monochromatic
#852589 #B431B9 #CD56D2 #DB86DF #EAB7EC
Accessibility & contrast
On white
3.59
#CD56D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#CD56D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD56D2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD56D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD56D2 | 1.00 | 3.59 | 5.86 | 5.86 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#457ED6
Deuteranopia (green-blind)
#6E8CCF
Tritanopia (blue-blind)
#D2668C
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #cd56d2; /* rgb */ color: rgb(205, 86, 210); /* oklch */ color: oklch(65.1% 0.210 326.0);
Tailwind
colors: {
custom: {
50: '#df8ce0',
500: '#cd56d2',
950: '#000000',
},
}SCSS
$custom: #cd56d2; $custom-light: #df8ce0; $custom-dark: #000000;
JSON
{
"hex": "#cd56d2",
"rgb": {
"r": 205,
"g": 86,
"b": 210
},
"hsl": {
"h": 297.581,
"s": 57.944,
"l": 58.039
},
"oklch": {
"l": 0.6507,
"c": 0.20953,
"h": 326
},
"luminance": 0.24288
}Semantic roles & 50–950 ramp
primary
#CD56D2
secondary
#ABDBA9
accent
#E1474D
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83