#CD7BE2#CD7BE2
#CD7BE2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.8% C 0.167 H 319.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7BE2 |
|---|---|
| RGB | rgb(205, 123, 226) |
| HSL | hsl(288, 64%, 68%) |
| HSV | hsv(288, 46%, 89%) |
| CMYK | cmyk(9.3%, 45.6%, 0%, 11.4%) |
| CIE-LAB | lab(63.87, 48.27, -39.57) |
| CIE-LCH | lch(63.87, 62.41, 320.66°) |
| OKLab | oklab(70.83% 0.1267 -0.1093) |
| OKLCH | oklch(70.83% 0.167 319.2) |
| XYZ | xyz(45.9855, 32.6376, 75.8141) |
| Luminance | 0.3264 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.13
Light Purple
#BF77F6
ΔE00 5.28
Orchid (survey)
#C875C4
ΔE00 5.44
Lavender Pink
#DD85D7
ΔE00 5.52
Violet (CSS)
#EE82EE
ΔE00 5.89
Purply Pink
#F075E6
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7BE2 #90E27B
analogous
#997BE2 #CD7BE2 #E27BC3
triadic
#CD7BE2 #E2CD7B #7BE2CD
tetradic
#CD7BE2 #E2997B #90E27B #7BC3E2
square
#CD7BE2 #E2997B #90E27B #7BC3E2
split-complementary
#CD7BE2 #C3E27B #7BE299
monochromatic
#9C29BA #BA49D7 #CD7BE2 #E0ADED #F3DFF8
Accessibility & contrast
On white
2.79
#CD7BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#CD7BE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7BE2
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7BE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7BE2 | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B95E6
Deuteranopia (green-blind)
#819EDF
Tritanopia (blue-blind)
#CE89A4
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cd7be2; /* rgb */ color: rgb(205, 123, 226); /* oklch */ color: oklch(70.8% 0.167 319.2);
Tailwind
colors: {
custom: {
50: '#dea3eb',
500: '#cd7be2',
950: '#000000',
},
}SCSS
$custom: #cd7be2; $custom-light: #dea3eb; $custom-dark: #000000;
JSON
{
"hex": "#cd7be2",
"rgb": {
"r": 205,
"g": 123,
"b": 226
},
"hsl": {
"h": 287.767,
"s": 63.975,
"l": 68.431
},
"oklch": {
"l": 0.70834,
"c": 0.16733,
"h": 319.2
},
"luminance": 0.32636
}Semantic roles & 50–950 ramp
primary
#CD7BE2
secondary
#D3ECCD
accent
#CC1A3E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84