#CD7CCD#CD7CCD
#CD7CCD is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.0% C 0.145 H 327.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CCD |
|---|---|
| RGB | rgb(205, 124, 205) |
| HSL | hsl(300, 45%, 65%) |
| HSV | hsv(300, 40%, 80%) |
| CMYK | cmyk(0%, 39.5%, 0%, 19.6%) |
| CIE-LAB | lab(63.18, 43.74, -28.89) |
| CIE-LCH | lch(63.18, 52.42, 326.55°) |
| OKLab | oklab(70.03% 0.1212 -0.0788) |
| OKLCH | oklch(70.03% 0.145 327) |
| XYZ | xyz(43.4031, 31.8042, 61.5984) |
| Luminance | 0.3180 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.18
Lavender Pink
#DD85D7
ΔE00 3.54
Orchid
#DA70D6
ΔE00 3.57
Purply Pink
#F075E6
ΔE00 6.24
Violet (CSS)
#EE82EE
ΔE00 6.63
Wisteria
#A87DC2
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CCD #7CCD7C
analogous
#A57CCD #CD7CCD #CD7CA5
triadic
#CD7CCD #CDCD7C #7CCDCD
tetradic
#CD7CCD #CDA57C #7CCD7C #7CA5CD
square
#CD7CCD #CDA57C #7CCD7C #7CA5CD
split-complementary
#CD7CCD #A5CD7C #7CCDA5
monochromatic
#963996 #BC50BC #CD7CCD #DEA8DE #EFD5EF
Accessibility & contrast
On white
2.85
#CD7CCD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#CD7CCD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CCD
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CCD | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7692D0
Deuteranopia (green-blind)
#8B9DCA
Tritanopia (blue-blind)
#D2849B
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cd7ccd; /* rgb */ color: rgb(205, 124, 205); /* oklch */ color: oklch(70.0% 0.145 327.0);
Tailwind
colors: {
custom: {
50: '#dea4dc',
500: '#cd7ccd',
950: '#000000',
},
}SCSS
$custom: #cd7ccd; $custom-light: #dea4dc; $custom-dark: #000000;
JSON
{
"hex": "#cd7ccd",
"rgb": {
"r": 205,
"g": 124,
"b": 205
},
"hsl": {
"h": 300,
"s": 44.751,
"l": 64.51
},
"oklch": {
"l": 0.70029,
"c": 0.14459,
"h": 327
},
"luminance": 0.31802
}Semantic roles & 50–950 ramp
primary
#CD7CCD
secondary
#C4E0C4
accent
#B82E2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83