#CD7AC2#CD7AC2
#CD7AC2 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.3% C 0.138 H 331.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7AC2 |
|---|---|
| RGB | rgb(205, 122, 194) |
| HSL | hsl(308, 45%, 64%) |
| HSV | hsv(308, 40%, 80%) |
| CMYK | cmyk(0%, 40.5%, 5.4%, 19.6%) |
| CIE-LAB | lab(62.33, 42.81, -24.00) |
| CIE-LCH | lch(62.33, 49.07, 330.73°) |
| OKLab | oklab(69.25% 0.1216 -0.0649) |
| OKLCH | oklch(69.25% 0.138 331.9) |
| XYZ | xyz(41.8736, 30.7954, 54.7670) |
| Luminance | 0.3079 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.04
Lavender Pink
#DD85D7
ΔE00 4.44
Orchid
#DA70D6
ΔE00 4.69
Pale Magenta
#D767AD
ΔE00 5.95
Purplish Pink
#CE5DAE
ΔE00 6.98
Purply Pink
#F075E6
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7AC2 #7ACD85
analogous
#AF7ACD #CD7AC2 #CD7A99
triadic
#CD7AC2 #C2CD7A #7AC2CD
tetradic
#CD7AC2 #CDAF7A #7ACD85 #7A99CD
square
#CD7AC2 #CDAF7A #7ACD85 #7A99CD
split-complementary
#CD7AC2 #99CD7A #7ACDAF
monochromatic
#953888 #BC4EAE #CD7AC2 #DEA6D6 #EED3EB
Accessibility & contrast
On white
2.93
#CD7AC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#CD7AC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7AC2
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7AC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7AC2 | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#788FC5
Deuteranopia (green-blind)
#8E9BBF
Tritanopia (blue-blind)
#D47F95
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cd7ac2; /* rgb */ color: rgb(205, 122, 194); /* oklch */ color: oklch(69.3% 0.138 331.9);
Tailwind
colors: {
custom: {
50: '#dea2d4',
500: '#cd7ac2',
950: '#000000',
},
}SCSS
$custom: #cd7ac2; $custom-light: #dea2d4; $custom-dark: #000000;
JSON
{
"hex": "#cd7ac2",
"rgb": {
"r": 205,
"g": 122,
"b": 194
},
"hsl": {
"h": 307.952,
"s": 45.355,
"l": 64.118
},
"oklch": {
"l": 0.69253,
"c": 0.13788,
"h": 331.9
},
"luminance": 0.30793
}Semantic roles & 50–950 ramp
primary
#CD7AC2
secondary
#C3E0C7
accent
#B93F2D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83