#CD5CD1#CD5CD1
#CD5CD1 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 65.7% C 0.200 H 326.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #CD5CD1 |
|---|---|
| RGB | rgb(205, 92, 209) |
| HSL | hsl(298, 56%, 59%) |
| HSV | hsv(298, 56%, 82%) |
| CMYK | cmyk(1.9%, 56%, 0%, 18%) |
| CIE-LAB | lab(57.31, 60.30, -40.31) |
| CIE-LCH | lch(57.31, 72.53, 326.24°) |
| OKLab | oklab(65.73% 0.1663 -0.1112) |
| OKLCH | oklch(65.73% 0.2 326.2) |
| XYZ | xyz(40.5118, 25.2392, 63.0470) |
| Luminance | 0.2524 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 3.12
Purpleish Pink
#DF4EC8
ΔE00 3.96
Pinky Purple
#C94CBE
ΔE00 4.41
Mediumorchid
#BA55D3
ΔE00 4.57
Orchid
#DA70D6
ΔE00 5.26
Heliotrope
#D94FF5
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD5CD1 #60D15C
analogous
#935CD1 #CD5CD1 #D15C9B
triadic
#CD5CD1 #D1CD5C #5CD1CD
tetradic
#CD5CD1 #D1935C #60D15C #5C9BD1
square
#CD5CD1 #D1935C #60D15C #5C9BD1
split-complementary
#CD5CD1 #9BD15C #5CD193
monochromatic
#88278B #B635BB #CD5CD1 #DC8CDE #EABBEC
Accessibility & contrast
On white
3.47
#CD5CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#CD5CD1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD5CD1
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD5CD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD5CD1 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D80D5
Deuteranopia (green-blind)
#738FCE
Tritanopia (blue-blind)
#D26B8E
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #cd5cd1; /* rgb */ color: rgb(205, 92, 209); /* oklch */ color: oklch(65.7% 0.200 326.2);
Tailwind
colors: {
custom: {
50: '#df90df',
500: '#cd5cd1',
950: '#000000',
},
}SCSS
$custom: #cd5cd1; $custom-light: #df90df; $custom-dark: #000000;
JSON
{
"hex": "#cd5cd1",
"rgb": {
"r": 205,
"g": 92,
"b": 209
},
"hsl": {
"h": 297.949,
"s": 55.981,
"l": 59.02
},
"oklch": {
"l": 0.65733,
"c": 0.20002,
"h": 326.2
},
"luminance": 0.25237
}Semantic roles & 50–950 ramp
primary
#CD5CD1
secondary
#AFDBAD
accent
#DF494E
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83