#CD7DC2#CD7DC2
#CD7DC2 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.7% C 0.133 H 332.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DC2 |
|---|---|
| RGB | rgb(205, 125, 194) |
| HSL | hsl(308, 44%, 65%) |
| HSV | hsv(308, 39%, 80%) |
| CMYK | cmyk(0%, 39%, 5.4%, 19.6%) |
| CIE-LAB | lab(62.96, 41.22, -23.03) |
| CIE-LCH | lch(62.96, 47.22, 330.81°) |
| OKLab | oklab(69.73% 0.1171 -0.0623) |
| OKLCH | oklch(69.73% 0.133 332) |
| XYZ | xyz(42.2476, 31.5435, 54.8917) |
| Luminance | 0.3154 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.72
Lavender Pink
#DD85D7
ΔE00 4.20
Orchid
#DA70D6
ΔE00 5.24
Pale Magenta
#D767AD
ΔE00 6.33
Purply Pink
#F075E6
ΔE00 7.53
Purplish Pink
#CE5DAE
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DC2 #7DCD88
analogous
#B07DCD #CD7DC2 #CD7D9A
triadic
#CD7DC2 #C2CD7D #7DC2CD
tetradic
#CD7DC2 #CDB07D #7DCD88 #7D9ACD
square
#CD7DC2 #CDB07D #7DCD88 #7D9ACD
split-complementary
#CD7DC2 #9ACD7D #7DCDB0
monochromatic
#963A89 #BC51AD #CD7DC2 #DEA9D7 #EFD5EB
Accessibility & contrast
On white
2.87
#CD7DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#CD7DC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DC2
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DC2 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B91C5
Deuteranopia (green-blind)
#909CC0
Tritanopia (blue-blind)
#D38297
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cd7dc2; /* rgb */ color: rgb(205, 125, 194); /* oklch */ color: oklch(69.7% 0.133 332.0);
Tailwind
colors: {
custom: {
50: '#dda4d4',
500: '#cd7dc2',
950: '#000000',
},
}SCSS
$custom: #cd7dc2; $custom-light: #dda4d4; $custom-dark: #000000;
JSON
{
"hex": "#cd7dc2",
"rgb": {
"r": 205,
"g": 125,
"b": 194
},
"hsl": {
"h": 308.25,
"s": 44.444,
"l": 64.706
},
"oklch": {
"l": 0.69726,
"c": 0.13263,
"h": 332
},
"luminance": 0.31541
}Semantic roles & 50–950 ramp
primary
#CD7DC2
secondary
#C5E1C9
accent
#B8412E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83