#CD7BCC#CD7BCC
#CD7BCC is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.8% C 0.145 H 327.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7BCC |
|---|---|
| RGB | rgb(205, 123, 204) |
| HSL | hsl(301, 45%, 64%) |
| HSV | hsv(301, 40%, 80%) |
| CMYK | cmyk(0%, 40%, 0.5%, 19.6%) |
| CIE-LAB | lab(62.93, 44.08, -28.71) |
| CIE-LCH | lch(62.93, 52.61, 326.92°) |
| OKLab | oklab(69.83% 0.1225 -0.0783) |
| OKLCH | oklch(69.83% 0.145 327.4) |
| XYZ | xyz(43.1581, 31.5067, 60.9231) |
| Luminance | 0.3150 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 1.93
Orchid
#DA70D6
ΔE00 3.47
Lavender Pink
#DD85D7
ΔE00 3.70
Purply Pink
#F075E6
ΔE00 6.27
Violet (CSS)
#EE82EE
ΔE00 6.76
Wisteria
#A87DC2
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7BCC #7BCD7C
analogous
#A57BCD #CD7BCC #CD7BA3
triadic
#CD7BCC #CCCD7B #7BCCCD
tetradic
#CD7BCC #CDA57B #7BCD7C #7BA3CD
square
#CD7BCC #CDA57B #7BCD7C #7BA3CD
split-complementary
#CD7BCC #A3CD7B #7BCDA5
monochromatic
#953894 #BC4FBB #CD7BCC #DEA7DD #EFD4EE
Accessibility & contrast
On white
2.88
#CD7BCC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#CD7BCC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7BCC
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7BCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7BCC | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7592CF
Deuteranopia (green-blind)
#8B9CC9
Tritanopia (blue-blind)
#D2839A
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cd7bcc; /* rgb */ color: rgb(205, 123, 204); /* oklch */ color: oklch(69.8% 0.145 327.4);
Tailwind
colors: {
custom: {
50: '#dea3db',
500: '#cd7bcc',
950: '#000000',
},
}SCSS
$custom: #cd7bcc; $custom-light: #dea3db; $custom-dark: #000000;
JSON
{
"hex": "#cd7bcc",
"rgb": {
"r": 205,
"g": 123,
"b": 204
},
"hsl": {
"h": 300.732,
"s": 45.055,
"l": 64.314
},
"oklch": {
"l": 0.6983,
"c": 0.14536,
"h": 327.4
},
"luminance": 0.31505
}Semantic roles & 50–950 ramp
primary
#CD7BCC
secondary
#C4E0C4
accent
#B82F2D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83