#AA7AF6#AA7AF6
#AA7AF6 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.180 H 299.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AA7AF6 |
|---|---|
| RGB | rgb(170, 122, 246) |
| HSL | hsl(263, 87%, 72%) |
| HSV | hsv(263, 50%, 96%) |
| CMYK | cmyk(30.9%, 50.4%, 0%, 3.5%) |
| CIE-LAB | lab(60.89, 43.81, -55.60) |
| CIE-LCH | lch(60.89, 70.79, 308.24°) |
| OKLab | oklab(68.09% 0.0886 -0.1567) |
| OKLCH | oklch(68.09% 0.18 299.5) |
| XYZ | xyz(40.1677, 29.1186, 90.6752) |
| Luminance | 0.2912 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.18
Light Purple
#BF77F6
ΔE00 4.09
Easter Purple
#C071FE
ΔE00 4.38
Mediumpurple
#9370DB
ΔE00 5.84
Periwinkle (survey)
#8E82FE
ΔE00 6.52
Liliac
#C48EFD
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA7AF6 #C6F67A
analogous
#7A88F6 #AA7AF6 #E87AF6
triadic
#AA7AF6 #F6AA7A #7AF6AA
tetradic
#AA7AF6 #F67A88 #C6F67A #7AF6E8
square
#AA7AF6 #F67A88 #C6F67A #7AF6E8
split-complementary
#AA7AF6 #F6E87A #88F67A
monochromatic
#6310E6 #8541F2 #AA7AF6 #CFB3FA #EDE2FD
Accessibility & contrast
On white
3.08
#AA7AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#AA7AF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA7AF6
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA7AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA7AF6 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F93FA
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#9A92AD
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #aa7af6; /* rgb */ color: rgb(170, 122, 246); /* oklch */ color: oklch(68.1% 0.180 299.5);
Tailwind
colors: {
custom: {
50: '#c6a1fa',
500: '#aa7af6',
950: '#000000',
},
}SCSS
$custom: #aa7af6; $custom-light: #c6a1fa; $custom-dark: #000000;
JSON
{
"hex": "#aa7af6",
"rgb": {
"r": 170,
"g": 122,
"b": 246
},
"hsl": {
"h": 263.226,
"s": 87.324,
"l": 72.157
},
"oklch": {
"l": 0.68092,
"c": 0.18003,
"h": 299.5
},
"luminance": 0.29119
}Semantic roles & 50–950 ramp
primary
#AA7AF6
secondary
#E9F5D6
accent
#E4028C
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85