#CD7CD2#CD7CD2
#CD7CD2 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.2% C 0.149 H 324.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CD2 |
|---|---|
| RGB | rgb(205, 124, 210) |
| HSL | hsl(297, 49%, 65%) |
| HSV | hsv(297, 41%, 82%) |
| CMYK | cmyk(2.4%, 41%, 0%, 17.6%) |
| CIE-LAB | lab(63.38, 44.67, -31.38) |
| CIE-LCH | lch(63.38, 54.59, 324.91°) |
| OKLab | oklab(70.25% 0.1223 -0.0859) |
| OKLCH | oklch(70.25% 0.149 324.9) |
| XYZ | xyz(44.0163, 32.0495, 64.8279) |
| Luminance | 0.3205 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.79
Orchid
#DA70D6
ΔE00 3.29
Lavender Pink
#DD85D7
ΔE00 3.69
Purply Pink
#F075E6
ΔE00 5.93
Violet (CSS)
#EE82EE
ΔE00 6.19
Wisteria
#A87DC2
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CD2 #81D27C
analogous
#A27CD2 #CD7CD2 #D27CAC
triadic
#CD7CD2 #D2CD7C #7CD2CD
tetradic
#CD7CD2 #D2A27C #81D27C #7CACD2
square
#CD7CD2 #D2A27C #81D27C #7CACD2
split-complementary
#CD7CD2 #ACD27C #7CD2A2
monochromatic
#97369D #BC4EC2 #CD7CD2 #DEAAE2 #F0D7F1
Accessibility & contrast
On white
2.83
#CD7CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#CD7CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CD2
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CD2 | 1.00 | 2.83 | 7.41 | 7.41 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7493D5
Deuteranopia (green-blind)
#899DCF
Tritanopia (blue-blind)
#D1859D
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cd7cd2; /* rgb */ color: rgb(205, 124, 210); /* oklch */ color: oklch(70.2% 0.149 324.9);
Tailwind
colors: {
custom: {
50: '#dea4e0',
500: '#cd7cd2',
950: '#000000',
},
}SCSS
$custom: #cd7cd2; $custom-light: #dea4e0; $custom-dark: #000000;
JSON
{
"hex": "#cd7cd2",
"rgb": {
"r": 205,
"g": 124,
"b": 210
},
"hsl": {
"h": 296.512,
"s": 48.864,
"l": 65.49
},
"oklch": {
"l": 0.70248,
"c": 0.14945,
"h": 324.9
},
"luminance": 0.32048
}Semantic roles & 50–950 ramp
primary
#CD7CD2
secondary
#C8E3C6
accent
#BC2932
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83