#CD7CD1#CD7CD1
#CD7CD1 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.2% C 0.148 H 325.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CD1 |
|---|---|
| RGB | rgb(205, 124, 209) |
| HSL | hsl(297, 48%, 65%) |
| HSV | hsv(297, 41%, 82%) |
| CMYK | cmyk(1.9%, 40.7%, 0%, 18%) |
| CIE-LAB | lab(63.34, 44.48, -30.89) |
| CIE-LCH | lch(63.34, 54.15, 325.22°) |
| OKLab | oklab(70.2% 0.1221 -0.0845) |
| OKLCH | oklch(70.2% 0.148 325.3) |
| XYZ | xyz(43.8921, 31.9998, 64.1738) |
| Luminance | 0.3200 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.65
Orchid
#DA70D6
ΔE00 3.32
Lavender Pink
#DD85D7
ΔE00 3.64
Purply Pink
#F075E6
ΔE00 5.98
Violet (CSS)
#EE82EE
ΔE00 6.27
Wisteria
#A87DC2
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CD1 #80D17C
analogous
#A27CD1 #CD7CD1 #D17CAB
triadic
#CD7CD1 #D1CD7C #7CD1CD
tetradic
#CD7CD1 #D1A27C #80D17C #7CABD1
square
#CD7CD1 #D1A27C #80D17C #7CABD1
split-complementary
#CD7CD1 #ABD17C #7CD1A2
monochromatic
#97379C #BC4FC1 #CD7CD1 #DEA9E1 #F0D7F1
Accessibility & contrast
On white
2.84
#CD7CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.40
#CD7CD1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CD1
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CD1 | 1.00 | 2.84 | 7.40 | 7.40 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7493D4
Deuteranopia (green-blind)
#8A9DCE
Tritanopia (blue-blind)
#D1859D
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cd7cd1; /* rgb */ color: rgb(205, 124, 209); /* oklch */ color: oklch(70.2% 0.148 325.3);
Tailwind
colors: {
custom: {
50: '#dea4df',
500: '#cd7cd1',
950: '#000000',
},
}SCSS
$custom: #cd7cd1; $custom-light: #dea4df; $custom-dark: #000000;
JSON
{
"hex": "#cd7cd1",
"rgb": {
"r": 205,
"g": 124,
"b": 209
},
"hsl": {
"h": 297.176,
"s": 48.023,
"l": 65.294
},
"oklch": {
"l": 0.70204,
"c": 0.14847,
"h": 325.3
},
"luminance": 0.31998
}Semantic roles & 50–950 ramp
primary
#CD7CD1
secondary
#C7E3C6
accent
#BB2A31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83