#AA7CD4#AA7CD4
#AA7CD4 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.6% C 0.135 H 307.2°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7CD4 |
|---|---|
| RGB | rgb(170, 124, 212) |
| HSL | hsl(271, 51%, 66%) |
| HSV | hsv(271, 42%, 83%) |
| CMYK | cmyk(19.8%, 41.5%, 0%, 16.9%) |
| CIE-LAB | lab(59.63, 34.65, -38.65) |
| CIE-LCH | lch(59.63, 51.90, 311.88°) |
| OKLab | oklab(66.6% 0.0815 -0.1074) |
| OKLCH | oklch(66.6% 0.135 307.2) |
| XYZ | xyz(35.6666, 27.7151, 65.7452) |
| Luminance | 0.2772 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.77
Deep Lilac
#966EBD
ΔE00 6.03
Light Purple
#BF77F6
ΔE00 6.13
Pale Purple
#B790D4
ΔE00 6.41
Mediumpurple
#9370DB
ΔE00 6.48
Light Urple
#B36FF6
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7CD4 #A6D47C
analogous
#7E7CD4 #AA7CD4 #D47CD2
triadic
#AA7CD4 #D4AA7C #7CD4AA
tetradic
#AA7CD4 #D47E7C #A6D47C #7CD2D4
square
#AA7CD4 #D47E7C #A6D47C #7CD2D4
split-complementary
#AA7CD4 #D2D47C #7CD47E
monochromatic
#6D35A1 #8C4EC5 #AA7CD4 #C8AAE3 #E6D8F2
Accessibility & contrast
On white
3.21
#AA7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#AA7CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA7CD4
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7CD4 | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#688ED7
Deuteranopia (green-blind)
#7390D2
Tritanopia (blue-blind)
#A48A9E
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #aa7cd4; /* rgb */ color: rgb(170, 124, 212); /* oklch */ color: oklch(66.6% 0.135 307.2);
Tailwind
colors: {
custom: {
50: '#c5a2e1',
500: '#aa7cd4',
950: '#000000',
},
}SCSS
$custom: #aa7cd4; $custom-light: #c5a2e1; $custom-dark: #000000;
JSON
{
"hex": "#aa7cd4",
"rgb": {
"r": 170,
"g": 124,
"b": 212
},
"hsl": {
"h": 271.364,
"s": 50.575,
"l": 65.882
},
"oklch": {
"l": 0.66599,
"c": 0.13479,
"h": 307.2
},
"luminance": 0.27715
}Semantic roles & 50–950 ramp
primary
#AA7CD4
secondary
#D5E4C7
accent
#BE286F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83