#CD7AE3#CD7AE3
#CD7AE3 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.7% C 0.170 H 319.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7AE3 |
|---|---|
| RGB | rgb(205, 122, 227) |
| HSL | hsl(287, 65%, 68%) |
| HSV | hsv(287, 46%, 89%) |
| CMYK | cmyk(9.7%, 46.3%, 0%, 11%) |
| CIE-LAB | lab(63.71, 48.99, -40.37) |
| CIE-LCH | lch(63.71, 63.48, 320.51°) |
| OKLab | oklab(70.73% 0.1283 -0.1116) |
| OKLCH | oklch(70.73% 0.17 319) |
| XYZ | xyz(45.9997, 32.4459, 76.4977) |
| Luminance | 0.3244 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.17
Light Purple
#BF77F6
ΔE00 5.05
Orchid (survey)
#C875C4
ΔE00 5.60
Lavender Pink
#DD85D7
ΔE00 5.79
Violet (CSS)
#EE82EE
ΔE00 6.00
Purply Pink
#F075E6
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7AE3 #90E37A
analogous
#987AE3 #CD7AE3 #E37AC4
triadic
#CD7AE3 #E3CD7A #7AE3CD
tetradic
#CD7AE3 #E3987A #90E37A #7AC4E3
square
#CD7AE3 #E3987A #90E37A #7AC4E3
split-complementary
#CD7AE3 #C4E37A #7AE398
monochromatic
#9C27BB #BA47D8 #CD7AE3 #E0ADEE #F3DFF8
Accessibility & contrast
On white
2.80
#CD7AE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.49
#CD7AE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7AE3
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7AE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7AE3 | 1.00 | 2.80 | 7.49 | 7.49 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6995E7
Deuteranopia (green-blind)
#809DE0
Tritanopia (blue-blind)
#CE88A4
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cd7ae3; /* rgb */ color: rgb(205, 122, 227); /* oklch */ color: oklch(70.7% 0.170 319.0);
Tailwind
colors: {
custom: {
50: '#dea3ec',
500: '#cd7ae3',
950: '#000000',
},
}SCSS
$custom: #cd7ae3; $custom-light: #dea3ec; $custom-dark: #000000;
JSON
{
"hex": "#cd7ae3",
"rgb": {
"r": 205,
"g": 122,
"b": 227
},
"hsl": {
"h": 287.429,
"s": 65.217,
"l": 68.431
},
"oklch": {
"l": 0.70732,
"c": 0.17001,
"h": 319
},
"luminance": 0.32444
}Semantic roles & 50–950 ramp
primary
#CD7AE3
secondary
#D3ECCD
accent
#CD183E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84