#CD7DE2#CD7DE2
#CD7DE2 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.1% C 0.164 H 319.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DE2 |
|---|---|
| RGB | rgb(205, 125, 226) |
| HSL | hsl(288, 64%, 69%) |
| HSV | hsv(288, 45%, 89%) |
| CMYK | cmyk(9.3%, 44.7%, 0%, 11.4%) |
| CIE-LAB | lab(64.27, 47.23, -38.93) |
| CIE-LCH | lch(64.27, 61.20, 320.50°) |
| OKLab | oklab(71.14% 0.1239 -0.1075) |
| OKLCH | oklch(71.14% 0.164 319.1) |
| XYZ | xyz(46.2361, 33.1389, 75.8977) |
| Luminance | 0.3314 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.33
Lavender Pink
#DD85D7
ΔE00 5.26
Light Purple
#BF77F6
ΔE00 5.46
Orchid (survey)
#C875C4
ΔE00 5.50
Violet (CSS)
#EE82EE
ΔE00 5.74
Purply Pink
#F075E6
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DE2 #92E27D
analogous
#9B7DE2 #CD7DE2 #E27DC5
triadic
#CD7DE2 #E2CD7D #7DE2CD
tetradic
#CD7DE2 #E29B7D #92E27D #7DC5E2
square
#CD7DE2 #E29B7D #92E27D #7DC5E2
split-complementary
#CD7DE2 #C5E27D #7DE29B
monochromatic
#9D2ABB #BA4BD7 #CD7DE2 #E0AFED #F3E1F8
Accessibility & contrast
On white
2.75
#CD7DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#CD7DE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DE2
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DE2 | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D96E6
Deuteranopia (green-blind)
#839FDF
Tritanopia (blue-blind)
#CE8AA5
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cd7de2; /* rgb */ color: rgb(205, 125, 226); /* oklch */ color: oklch(71.1% 0.164 319.1);
Tailwind
colors: {
custom: {
50: '#dea5eb',
500: '#cd7de2',
950: '#000000',
},
}SCSS
$custom: #cd7de2; $custom-light: #dea5eb; $custom-dark: #000000;
JSON
{
"hex": "#cd7de2",
"rgb": {
"r": 205,
"g": 125,
"b": 226
},
"hsl": {
"h": 287.525,
"s": 63.522,
"l": 68.824
},
"oklch": {
"l": 0.71137,
"c": 0.16401,
"h": 319.1
},
"luminance": 0.33137
}Semantic roles & 50–950 ramp
primary
#CD7DE2
secondary
#D5ECCE
accent
#CB1A3F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84