#CD7DCD#CD7DCD
#CD7DCD is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.2% C 0.143 H 327.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DCD |
|---|---|
| RGB | rgb(205, 125, 205) |
| HSL | hsl(300, 44%, 65%) |
| HSV | hsv(300, 39%, 80%) |
| CMYK | cmyk(0%, 39%, 0%, 19.6%) |
| CIE-LAB | lab(63.39, 43.21, -28.57) |
| CIE-LCH | lch(63.39, 51.80, 326.53°) |
| OKLab | oklab(70.19% 0.1198 -0.0779) |
| OKLCH | oklch(70.19% 0.143 327) |
| XYZ | xyz(43.5290, 32.0561, 61.6403) |
| Luminance | 0.3205 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.35
Lavender Pink
#DD85D7
ΔE00 3.40
Orchid
#DA70D6
ΔE00 3.77
Purply Pink
#F075E6
ΔE00 6.30
Violet (CSS)
#EE82EE
ΔE00 6.61
Wisteria
#A87DC2
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DCD #7DCD7D
analogous
#A57DCD #CD7DCD #CD7DA5
triadic
#CD7DCD #CDCD7D #7DCDCD
tetradic
#CD7DCD #CDA57D #7DCD7D #7DA5CD
square
#CD7DCD #CDA57D #7DCD7D #7DA5CD
split-complementary
#CD7DCD #A5CD7D #7DCDA5
monochromatic
#963A96 #BC51BC #CD7DCD #DEA9DE #EFD5EF
Accessibility & contrast
On white
2.83
#CD7DCD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.41
#CD7DCD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DCD
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DCD | 1.00 | 2.83 | 7.41 | 7.41 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#8C9DCA
Tritanopia (blue-blind)
#D2859C
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cd7dcd; /* rgb */ color: rgb(205, 125, 205); /* oklch */ color: oklch(70.2% 0.143 327.0);
Tailwind
colors: {
custom: {
50: '#dea4dc',
500: '#cd7dcd',
950: '#000000',
},
}SCSS
$custom: #cd7dcd; $custom-light: #dea4dc; $custom-dark: #000000;
JSON
{
"hex": "#cd7dcd",
"rgb": {
"r": 205,
"g": 125,
"b": 205
},
"hsl": {
"h": 300,
"s": 44.444,
"l": 64.706
},
"oklch": {
"l": 0.70186,
"c": 0.14286,
"h": 327
},
"luminance": 0.32054
}Semantic roles & 50–950 ramp
primary
#CD7DCD
secondary
#C5E1C5
accent
#B82E2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83