#AA7AE2#AA7AE2
#AA7AE2 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.0% C 0.155 H 303.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7AE2 |
|---|---|
| RGB | rgb(170, 122, 226) |
| HSL | hsl(268, 64%, 68%) |
| HSV | hsv(268, 46%, 89%) |
| CMYK | cmyk(24.8%, 46%, 0%, 11.4%) |
| CIE-LAB | lab(59.85, 39.01, -46.15) |
| CIE-LCH | lch(59.85, 60.42, 310.21°) |
| OKLab | oklab(66.98% 0.0865 -0.1291) |
| OKLCH | oklch(66.98% 0.155 303.8) |
| XYZ | xyz(37.2616, 27.9562, 75.3698) |
| Luminance | 0.2796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.22
Light Purple
#BF77F6
ΔE00 4.39
Mediumpurple
#9370DB
ΔE00 5.23
Easter Purple
#C071FE
ΔE00 5.45
Wisteria
#A87DC2
ΔE00 6.48
Liliac
#C48EFD
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7AE2 #B2E27A
analogous
#7A7EE2 #AA7AE2 #DE7AE2
triadic
#AA7AE2 #E2AA7A #7AE2AA
tetradic
#AA7AE2 #E27A7E #B2E27A #7AE2DE
square
#AA7AE2 #E27A7E #B2E27A #7AE2DE
split-complementary
#AA7AE2 #E2DE7A #7EE27A
monochromatic
#6B28B9 #8A48D7 #AA7AE2 #CAACED #EADEF8
Accessibility & contrast
On white
3.19
#AA7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#AA7AE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA7AE2
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7AE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7AE2 | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#A08CA3
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #aa7ae2; /* rgb */ color: rgb(170, 122, 226); /* oklch */ color: oklch(67.0% 0.155 303.8);
Tailwind
colors: {
custom: {
50: '#c5a1eb',
500: '#aa7ae2',
950: '#000000',
},
}SCSS
$custom: #aa7ae2; $custom-light: #c5a1eb; $custom-dark: #000000;
JSON
{
"hex": "#aa7ae2",
"rgb": {
"r": 170,
"g": 122,
"b": 226
},
"hsl": {
"h": 267.692,
"s": 64.198,
"l": 68.235
},
"oklch": {
"l": 0.66982,
"c": 0.15541,
"h": 303.8
},
"luminance": 0.27956
}Semantic roles & 50–950 ramp
primary
#AA7AE2
secondary
#DDECCC
accent
#CC197A
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84