#CD7ED2#CD7ED2
#CD7ED2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.6% C 0.146 H 324.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7ED2 |
|---|---|
| RGB | rgb(205, 126, 210) |
| HSL | hsl(296, 48%, 66%) |
| HSV | hsv(296, 40%, 82%) |
| CMYK | cmyk(2.4%, 40%, 0%, 17.6%) |
| CIE-LAB | lab(63.80, 43.61, -30.74) |
| CIE-LCH | lch(63.80, 53.36, 324.82°) |
| OKLab | oklab(70.56% 0.1194 -0.084) |
| OKLCH | oklch(70.56% 0.146 324.9) |
| XYZ | xyz(44.2695, 32.5558, 64.9123) |
| Luminance | 0.3255 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.03
Lavender Pink
#DD85D7
ΔE00 3.39
Orchid
#DA70D6
ΔE00 3.68
Purply Pink
#F075E6
ΔE00 6.04
Violet (CSS)
#EE82EE
ΔE00 6.13
Pale Purple
#B790D4
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7ED2 #83D27E
analogous
#A37ED2 #CD7ED2 #D27EAD
triadic
#CD7ED2 #D2CD7E #7ED2CD
tetradic
#CD7ED2 #D2A37E #83D27E #7EADD2
square
#CD7ED2 #D2A37E #83D27E #7EADD2
split-complementary
#CD7ED2 #ADD27E #7ED2A3
monochromatic
#98379E #BB51C2 #CD7ED2 #DFABE2 #F0D9F2
Accessibility & contrast
On white
2.80
#CD7ED2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#CD7ED2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7ED2
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7ED2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7ED2 | 1.00 | 2.80 | 7.51 | 7.51 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7694D5
Deuteranopia (green-blind)
#8B9ECF
Tritanopia (blue-blind)
#D1879E
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cd7ed2; /* rgb */ color: rgb(205, 126, 210); /* oklch */ color: oklch(70.6% 0.146 324.9);
Tailwind
colors: {
custom: {
50: '#dea5e0',
500: '#cd7ed2',
950: '#000000',
},
}SCSS
$custom: #cd7ed2; $custom-light: #dea5e0; $custom-dark: #000000;
JSON
{
"hex": "#cd7ed2",
"rgb": {
"r": 205,
"g": 126,
"b": 210
},
"hsl": {
"h": 296.429,
"s": 48.276,
"l": 65.882
},
"oklch": {
"l": 0.7056,
"c": 0.14602,
"h": 324.9
},
"luminance": 0.32554
}Semantic roles & 50–950 ramp
primary
#CD7ED2
secondary
#CAE4C8
accent
#BC2A33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83