#CD7AF3#CD7AF3
#CD7AF3 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.187 H 314.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7AF3 |
|---|---|
| RGB | rgb(205, 122, 243) |
| HSL | hsl(281, 83%, 72%) |
| HSV | hsv(281, 50%, 95%) |
| CMYK | cmyk(15.6%, 49.8%, 0%, 4.7%) |
| CIE-LAB | lab(64.46, 52.22, -48.05) |
| CIE-LCH | lch(64.46, 70.96, 317.38°) |
| OKLab | oklab(71.53% 0.1304 -0.1338) |
| OKLCH | oklch(71.53% 0.187 314.2) |
| XYZ | xyz(48.3114, 33.3705, 88.6729) |
| Luminance | 0.3337 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.99
Easter Purple
#C071FE
ΔE00 4.10
Liliac
#C48EFD
ΔE00 5.34
Light Urple
#B36FF6
ΔE00 5.85
Bright Lavender
#C760FF
ΔE00 5.98
Bright Lilac
#C95EFB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7AF3 #A0F37A
analogous
#917AF3 #CD7AF3 #F37ADD
triadic
#CD7AF3 #F3CD7A #7AF3CD
tetradic
#CD7AF3 #F3917A #A0F37A #7ADDF3
square
#CD7AF3 #F3917A #A0F37A #7ADDF3
split-complementary
#CD7AF3 #DDF37A #7AF391
monochromatic
#9F14DF #B842EE #CD7AF3 #E2B2F8 #F4E3FC
Accessibility & contrast
On white
2.74
#CD7AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#CD7AF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7AF3
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7AF3 | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F98F7
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#CA8DAB
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cd7af3; /* rgb */ color: rgb(205, 122, 243); /* oklch */ color: oklch(71.5% 0.187 314.2);
Tailwind
colors: {
custom: {
50: '#dea3f7',
500: '#cd7af3',
950: '#000000',
},
}SCSS
$custom: #cd7af3; $custom-light: #dea3f7; $custom-dark: #000000;
JSON
{
"hex": "#cd7af3",
"rgb": {
"r": 205,
"g": 122,
"b": 243
},
"hsl": {
"h": 281.157,
"s": 83.448,
"l": 71.569
},
"oklch": {
"l": 0.71534,
"c": 0.18681,
"h": 314.2
},
"luminance": 0.33369
}Semantic roles & 50–950 ramp
primary
#CD7AF3
secondary
#DFF4D5
accent
#E0064A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85