#CD7EC0#CD7EC0
#CD7EC0 is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.8% C 0.129 H 333.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EC0 |
|---|---|
| RGB | rgb(205, 126, 192) |
| HSL | hsl(310, 44%, 65%) |
| HSV | hsv(310, 39%, 80%) |
| CMYK | cmyk(0%, 38.5%, 6.3%, 19.6%) |
| CIE-LAB | lab(63.10, 40.34, -21.69) |
| CIE-LCH | lch(63.10, 45.80, 331.73°) |
| OKLab | oklab(69.8% 0.1151 -0.0585) |
| OKLCH | oklch(69.8% 0.129 333) |
| XYZ | xyz(42.1518, 31.7088, 53.7591) |
| Luminance | 0.3171 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.25
Lavender Pink
#DD85D7
ΔE00 4.45
Orchid
#DA70D6
ΔE00 5.79
Pale Magenta
#D767AD
ΔE00 6.25
Purplish Pink
#CE5DAE
ΔE00 7.76
Purply Pink
#F075E6
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EC0 #7ECD8B
analogous
#B27ECD #CD7EC0 #CD7E99
triadic
#CD7EC0 #C0CD7E #7EC0CD
tetradic
#CD7EC0 #CDB27E #7ECD8B #7E99CD
square
#CD7EC0 #CDB27E #7ECD8B #7E99CD
split-complementary
#CD7EC0 #99CD7E #7ECDB2
monochromatic
#963A87 #BC52AA #CD7EC0 #DEAAD6 #EFD6EB
Accessibility & contrast
On white
2.86
#CD7EC0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#CD7EC0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EC0
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EC0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EC0 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D92C2
Deuteranopia (green-blind)
#919DBE
Tritanopia (blue-blind)
#D48297
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cd7ec0; /* rgb */ color: rgb(205, 126, 192); /* oklch */ color: oklch(69.8% 0.129 333.0);
Tailwind
colors: {
custom: {
50: '#dda5d3',
500: '#cd7ec0',
950: '#000000',
},
}SCSS
$custom: #cd7ec0; $custom-light: #dda5d3; $custom-dark: #000000;
JSON
{
"hex": "#cd7ec0",
"rgb": {
"r": 205,
"g": 126,
"b": 192
},
"hsl": {
"h": 309.873,
"s": 44.134,
"l": 64.902
},
"oklch": {
"l": 0.69805,
"c": 0.1291,
"h": 333
},
"luminance": 0.31707
}Semantic roles & 50–950 ramp
primary
#CD7EC0
secondary
#C6E1CA
accent
#B7452E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82