#CD9CDC#CD9CDC
#CD9CDC is a light, moderate purple. Relative luminance 0.419; OKLCH L 76.0% C 0.104 H 318.1°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9CDC |
|---|---|
| RGB | rgb(205, 156, 220) |
| HSL | hsl(286, 48%, 74%) |
| HSV | hsv(286, 29%, 86%) |
| CMYK | cmyk(6.8%, 29.1%, 0%, 13.7%) |
| CIE-LAB | lab(70.82, 29.36, -25.48) |
| CIE-LCH | lch(70.82, 38.88, 319.04°) |
| OKLab | oklab(76% 0.0774 -0.0694) |
| OKLCH | oklch(76% 0.104 318.1) |
| XYZ | xyz(49.9817, 41.9244, 73.1555) |
| Luminance | 0.4192 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.47
Lavender (survey)
#C79FEF
ΔE00 4.82
Pale Purple
#B790D4
ΔE00 5.00
Baby Purple
#CA9BF7
ΔE00 6.12
Lilac
#C8A2C8
ΔE00 6.23
Lavender
#B39DDB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9CDC #ABDC9C
analogous
#AD9CDC #CD9CDC #DC9CCB
triadic
#CD9CDC #DCCD9C #9CDCCD
tetradic
#CD9CDC #DCAD9C #ABDC9C #9CCBDC
square
#CD9CDC #DCAD9C #ABDC9C #9CCBDC
split-complementary
#CD9CDC #CBDC9C #9CDCAD
monochromatic
#9F42BB #B66FCC #CD9CDC #E4C9EC #F4E8F7
Accessibility & contrast
On white
2.24
#CD9CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#CD9CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9CDC
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9CDC | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94AADF
Deuteranopia (green-blind)
#9FAFDA
Tritanopia (blue-blind)
#CDA3B3
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #cd9cdc; /* rgb */ color: rgb(205, 156, 220); /* oklch */ color: oklch(76.0% 0.104 318.1);
Tailwind
colors: {
custom: {
50: '#ddb9e7',
500: '#cd9cdc',
950: '#000000',
},
}SCSS
$custom: #cd9cdc; $custom-light: #ddb9e7; $custom-dark: #000000;
JSON
{
"hex": "#cd9cdc",
"rgb": {
"r": 205,
"g": 156,
"b": 220
},
"hsl": {
"h": 285.938,
"s": 47.761,
"l": 73.725
},
"oklch": {
"l": 0.76,
"c": 0.10399,
"h": 318.1
},
"luminance": 0.41923
}Semantic roles & 50–950 ramp
primary
#CD9CDC
secondary
#E1EEDD
accent
#BB2A4C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084