#CD7ED3#CD7ED3
#CD7ED3 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.6% C 0.147 H 324.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7ED3 |
|---|---|
| RGB | rgb(205, 126, 211) |
| HSL | hsl(296, 49%, 66%) |
| HSV | hsv(296, 40%, 83%) |
| CMYK | cmyk(2.8%, 40.3%, 0%, 17.3%) |
| CIE-LAB | lab(63.84, 43.80, -31.24) |
| CIE-LCH | lch(63.84, 53.80, 324.51°) |
| OKLab | oklab(70.6% 0.1196 -0.0855) |
| OKLCH | oklch(70.6% 0.147 324.5) |
| XYZ | xyz(44.3944, 32.6058, 65.5705) |
| Luminance | 0.3260 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.16
Lavender Pink
#DD85D7
ΔE00 3.45
Orchid
#DA70D6
ΔE00 3.65
Purply Pink
#F075E6
ΔE00 5.99
Violet (CSS)
#EE82EE
ΔE00 6.05
Pale Purple
#B790D4
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7ED3 #84D37E
analogous
#A27ED3 #CD7ED3 #D37EAE
triadic
#CD7ED3 #D3CD7E #7ED3CD
tetradic
#CD7ED3 #D3A27E #84D37E #7EAED3
square
#CD7ED3 #D3A27E #84D37E #7EAED3
split-complementary
#CD7ED3 #AED37E #7ED3A2
monochromatic
#9937A0 #BB50C3 #CD7ED3 #DFACE3 #F0D9F2
Accessibility & contrast
On white
2.79
#CD7ED3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#CD7ED3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7ED3
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7ED3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7ED3 | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7595D6
Deuteranopia (green-blind)
#8A9ED0
Tritanopia (blue-blind)
#D0879F
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cd7ed3; /* rgb */ color: rgb(205, 126, 211); /* oklch */ color: oklch(70.6% 0.147 324.5);
Tailwind
colors: {
custom: {
50: '#dea5e0',
500: '#cd7ed3',
950: '#000000',
},
}SCSS
$custom: #cd7ed3; $custom-light: #dea5e0; $custom-dark: #000000;
JSON
{
"hex": "#cd7ed3",
"rgb": {
"r": 205,
"g": 126,
"b": 211
},
"hsl": {
"h": 295.765,
"s": 49.133,
"l": 66.078
},
"oklch": {
"l": 0.70604,
"c": 0.14701,
"h": 324.5
},
"luminance": 0.32604
}Semantic roles & 50–950 ramp
primary
#CD7ED3
secondary
#CAE4C8
accent
#BC2933
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83