#AA6AF2#AA6AF2
#AA6AF2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.4% C 0.199 H 303.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AA6AF2 |
|---|---|
| RGB | rgb(170, 106, 242) |
| HSL | hsl(268, 84%, 68%) |
| HSV | hsv(268, 56%, 95%) |
| CMYK | cmyk(29.8%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(57.33, 51.46, -59.06) |
| CIE-LCH | lch(57.33, 78.34, 311.06°) |
| OKLab | oklab(65.4% 0.1084 -0.1668) |
| OKLCH | oklch(65.4% 0.199 303) |
| XYZ | xyz(37.7550, 25.2649, 86.8748) |
| Luminance | 0.2526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.10
Lighter Purple
#A55AF4
ΔE00 3.89
Easter Purple
#C071FE
ΔE00 4.41
Bright Lavender
#C760FF
ΔE00 5.00
Light Purple
#BF77F6
ΔE00 5.06
Mediumpurple
#9370DB
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA6AF2 #B2F26A
analogous
#6A6EF2 #AA6AF2 #EE6AF2
triadic
#AA6AF2 #F2AA6A #6AF2AA
tetradic
#AA6AF2 #F26A6E #B2F26A #6AF2EE
square
#AA6AF2 #F26A6E #B2F26A #6AF2EE
split-complementary
#AA6AF2 #F2EE6A #6EF26A
monochromatic
#6B12CF #8A32ED #AA6AF2 #CAA2F7 #EADBFC
Accessibility & contrast
On white
3.47
#AA6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#AA6AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA6AF2
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA6AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA6AF2 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#9D85A4
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #aa6af2; /* rgb */ color: rgb(170, 106, 242); /* oklch */ color: oklch(65.4% 0.199 303.0);
Tailwind
colors: {
custom: {
50: '#c797f7',
500: '#aa6af2',
950: '#000000',
},
}SCSS
$custom: #aa6af2; $custom-light: #c797f7; $custom-dark: #000000;
JSON
{
"hex": "#aa6af2",
"rgb": {
"r": 170,
"g": 106,
"b": 242
},
"hsl": {
"h": 268.235,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.65395,
"c": 0.19898,
"h": 303
},
"luminance": 0.25265
}Semantic roles & 50–950 ramp
primary
#AA6AF2
secondary
#DDF1C7
accent
#E00579
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85