#CD7AEF#CD7AEF
#CD7AEF is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.3% C 0.183 H 315.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7AEF |
|---|---|
| RGB | rgb(205, 122, 239) |
| HSL | hsl(283, 79%, 71%) |
| HSV | hsv(283, 49%, 94%) |
| CMYK | cmyk(14.2%, 49%, 0%, 6.3%) |
| CIE-LAB | lab(64.27, 51.40, -46.14) |
| CIE-LCH | lch(64.27, 69.07, 318.09°) |
| OKLab | oklab(71.33% 0.1299 -0.1283) |
| OKLCH | oklch(71.33% 0.183 315.4) |
| XYZ | xyz(47.7139, 33.1316, 85.5262) |
| Luminance | 0.3313 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.39
Easter Purple
#C071FE
ΔE00 4.57
Liliac
#C48EFD
ΔE00 5.63
Orchid
#DA70D6
ΔE00 5.82
Light Urple
#B36FF6
ΔE00 6.16
Bright Lilac
#C95EFB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7AEF #9CEF7A
analogous
#927AEF #CD7AEF #EF7AD6
triadic
#CD7AEF #EFCD7A #7AEFCD
tetradic
#CD7AEF #EF927A #9CEF7A #7AD6EF
square
#CD7AEF #EF927A #9CEF7A #7AD6EF
split-complementary
#CD7AEF #D6EF7A #7AEF92
monochromatic
#9F1AD5 #B843E8 #CD7AEF #E2B1F6 #F5E4FC
Accessibility & contrast
On white
2.75
#CD7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#CD7AEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7AEF
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7AEF | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#CB8CAA
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cd7aef; /* rgb */ color: rgb(205, 122, 239); /* oklch */ color: oklch(71.3% 0.183 315.4);
Tailwind
colors: {
custom: {
50: '#dea3f5',
500: '#cd7aef',
950: '#000000',
},
}SCSS
$custom: #cd7aef; $custom-light: #dea3f5; $custom-dark: #000000;
JSON
{
"hex": "#cd7aef",
"rgb": {
"r": 205,
"g": 122,
"b": 239
},
"hsl": {
"h": 282.564,
"s": 78.523,
"l": 70.784
},
"oklch": {
"l": 0.71329,
"c": 0.18256,
"h": 315.4
},
"luminance": 0.3313
}Semantic roles & 50–950 ramp
primary
#CD7AEF
secondary
#DCF2D3
accent
#DB0B47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85