#CD7DC3#CD7DC3
#CD7DC3 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.8% C 0.134 H 331.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DC3 |
|---|---|
| RGB | rgb(205, 125, 195) |
| HSL | hsl(308, 44%, 65%) |
| HSV | hsv(308, 39%, 80%) |
| CMYK | cmyk(0%, 39%, 4.9%, 19.6%) |
| CIE-LAB | lab(63.00, 41.40, -23.54) |
| CIE-LCH | lch(63.00, 47.62, 330.38°) |
| OKLab | oklab(69.77% 0.1174 -0.0637) |
| OKLCH | oklch(69.77% 0.134 331.5) |
| XYZ | xyz(42.3603, 31.5886, 55.4851) |
| Luminance | 0.3159 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.59
Lavender Pink
#DD85D7
ΔE00 4.07
Orchid
#DA70D6
ΔE00 5.07
Pale Magenta
#D767AD
ΔE00 6.46
Purply Pink
#F075E6
ΔE00 7.40
Purplish Pink
#CE5DAE
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DC3 #7DCD87
analogous
#AF7DCD #CD7DC3 #CD7D9B
triadic
#CD7DC3 #C3CD7D #7DC3CD
tetradic
#CD7DC3 #CDAF7D #7DCD87 #7D9BCD
square
#CD7DC3 #CDAF7D #7DCD87 #7D9BCD
split-complementary
#CD7DC3 #9BCD7D #7DCDAF
monochromatic
#963A8A #BC51AF #CD7DC3 #DEA9D7 #EFD5EC
Accessibility & contrast
On white
2.87
#CD7DC3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#CD7DC3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DC3
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DC3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DC3 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B92C6
Deuteranopia (green-blind)
#8F9CC1
Tritanopia (blue-blind)
#D38297
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cd7dc3; /* rgb */ color: rgb(205, 125, 195); /* oklch */ color: oklch(69.8% 0.134 331.5);
Tailwind
colors: {
custom: {
50: '#dda4d5',
500: '#cd7dc3',
950: '#000000',
},
}SCSS
$custom: #cd7dc3; $custom-light: #dda4d5; $custom-dark: #000000;
JSON
{
"hex": "#cd7dc3",
"rgb": {
"r": 205,
"g": 125,
"b": 195
},
"hsl": {
"h": 307.5,
"s": 44.444,
"l": 64.706
},
"oklch": {
"l": 0.69767,
"c": 0.13353,
"h": 331.5
},
"luminance": 0.31586
}Semantic roles & 50–950 ramp
primary
#CD7DC3
secondary
#C5E1C9
accent
#B83F2E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83