#CD7AF6#CD7AF6
#CD7AF6 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.7% C 0.190 H 313.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7AF6 |
|---|---|
| RGB | rgb(205, 122, 246) |
| HSL | hsl(280, 87%, 72%) |
| HSV | hsv(280, 50%, 96%) |
| CMYK | cmyk(16.7%, 50.4%, 0%, 3.5%) |
| CIE-LAB | lab(64.61, 52.84, -49.47) |
| CIE-LCH | lch(64.61, 72.38, 316.89°) |
| OKLab | oklab(71.69% 0.1307 -0.1379) |
| OKLCH | oklch(71.69% 0.19 313.4) |
| XYZ | xyz(48.7681, 33.5532, 91.0783) |
| Luminance | 0.3355 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.76
Easter Purple
#C071FE
ΔE00 3.79
Liliac
#C48EFD
ΔE00 5.18
Light Urple
#B36FF6
ΔE00 5.66
Bright Lavender
#C760FF
ΔE00 5.79
Bright Lilac
#C95EFB
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7AF6 #A3F67A
analogous
#8F7AF6 #CD7AF6 #F67AE1
triadic
#CD7AF6 #F6CD7A #7AF6CD
tetradic
#CD7AF6 #F68F7A #A3F67A #7AE1F6
square
#CD7AF6 #F68F7A #A3F67A #7AE1F6
split-complementary
#CD7AF6 #E1F67A #7AF68F
monochromatic
#9F10E6 #B741F2 #CD7AF6 #E3B3FA #F4E2FD
Accessibility & contrast
On white
2.72
#CD7AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#CD7AF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7AF6
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7AF6 | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#C98EAD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7af6; /* rgb */ color: rgb(205, 122, 246); /* oklch */ color: oklch(71.7% 0.190 313.4);
Tailwind
colors: {
custom: {
50: '#dfa3f9',
500: '#cd7af6',
950: '#000000',
},
}SCSS
$custom: #cd7af6; $custom-light: #dfa3f9; $custom-dark: #000000;
JSON
{
"hex": "#cd7af6",
"rgb": {
"r": 205,
"g": 122,
"b": 246
},
"hsl": {
"h": 280.161,
"s": 87.324,
"l": 72.157
},
"oklch": {
"l": 0.7169,
"c": 0.19,
"h": 313.4
},
"luminance": 0.33552
}Semantic roles & 50–950 ramp
primary
#CD7AF6
secondary
#E0F5D6
accent
#E4024C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85