#CD7DCC#CD7DCC
#CD7DCC is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.1% C 0.142 H 327.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DCC |
|---|---|
| RGB | rgb(205, 125, 204) |
| HSL | hsl(301, 44%, 65%) |
| HSV | hsv(301, 39%, 80%) |
| CMYK | cmyk(0%, 39%, 0.5%, 19.6%) |
| CIE-LAB | lab(63.35, 43.03, -28.07) |
| CIE-LCH | lch(63.35, 51.37, 326.88°) |
| OKLab | oklab(70.14% 0.1195 -0.0765) |
| OKLCH | oklch(70.14% 0.142 327.4) |
| XYZ | xyz(43.4087, 32.0080, 61.0067) |
| Luminance | 0.3201 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.28
Lavender Pink
#DD85D7
ΔE00 3.41
Orchid
#DA70D6
ΔE00 3.86
Purply Pink
#F075E6
ΔE00 6.38
Violet (CSS)
#EE82EE
ΔE00 6.72
Wisteria
#A87DC2
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DCC #7DCD7E
analogous
#A67DCD #CD7DCC #CD7DA4
triadic
#CD7DCC #CCCD7D #7DCCCD
tetradic
#CD7DCC #CDA67D #7DCD7E #7DA4CD
square
#CD7DCC #CDA67D #7DCD7E #7DA4CD
split-complementary
#CD7DCC #A4CD7D #7DCDA6
monochromatic
#963A95 #BC51BB #CD7DCC #DEA9DD #EFD5EF
Accessibility & contrast
On white
2.84
#CD7DCC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.40
#CD7DCC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DCC
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DCC | 1.00 | 2.84 | 7.40 | 7.40 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7793CF
Deuteranopia (green-blind)
#8C9DC9
Tritanopia (blue-blind)
#D2849B
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cd7dcc; /* rgb */ color: rgb(205, 125, 204); /* oklch */ color: oklch(70.1% 0.142 327.4);
Tailwind
colors: {
custom: {
50: '#dea4db',
500: '#cd7dcc',
950: '#000000',
},
}SCSS
$custom: #cd7dcc; $custom-light: #dea4db; $custom-dark: #000000;
JSON
{
"hex": "#cd7dcc",
"rgb": {
"r": 205,
"g": 125,
"b": 204
},
"hsl": {
"h": 300.75,
"s": 44.444,
"l": 64.706
},
"oklch": {
"l": 0.70143,
"c": 0.14191,
"h": 327.4
},
"luminance": 0.32006
}Semantic roles & 50–950 ramp
primary
#CD7DCC
secondary
#C5E1C6
accent
#B8302E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83