#AA66EB#AA66EB
#AA66EB is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.4% C 0.197 H 305.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AA66EB |
|---|---|
| RGB | rgb(170, 102, 235) |
| HSL | hsl(271, 77%, 66%) |
| HSV | hsv(271, 57%, 92%) |
| CMYK | cmyk(27.7%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(56.13, 51.91, -57.08) |
| CIE-LCH | lch(56.13, 77.15, 312.28°) |
| OKLab | oklab(64.39% 0.1132 -0.161) |
| OKLCH | oklch(64.39% 0.197 305.1) |
| XYZ | xyz(36.3211, 24.0472, 81.3093) |
| Luminance | 0.2405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.09
Lighter Purple
#A55AF4
ΔE00 3.24
Lightish Purple
#A552E6
ΔE00 4.90
Bright Lavender
#C760FF
ΔE00 5.11
Easter Purple
#C071FE
ΔE00 5.21
Mediumpurple
#9370DB
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA66EB #A7EB66
analogous
#6766EB #AA66EB #EB66E9
triadic
#AA66EB #EBAA66 #66EBAA
tetradic
#AA66EB #EB6766 #A7EB66 #66E9EB
square
#AA66EB #EB6766 #A7EB66 #66E9EB
split-complementary
#AA66EB #E9EB66 #66EB67
monochromatic
#6D19BE #8C30E4 #AA66EB #C89CF2 #E6D2F9
Accessibility & contrast
On white
3.61
#AA66EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#AA66EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA66EB
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA66EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA66EB | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3185EF
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#9F809F
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #aa66eb; /* rgb */ color: rgb(170, 102, 235); /* oklch */ color: oklch(64.4% 0.197 305.1);
Tailwind
colors: {
custom: {
50: '#c794f2',
500: '#aa66eb',
950: '#000000',
},
}SCSS
$custom: #aa66eb; $custom-light: #c794f2; $custom-dark: #000000;
JSON
{
"hex": "#aa66eb",
"rgb": {
"r": 170,
"g": 102,
"b": 235
},
"hsl": {
"h": 270.677,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.64386,
"c": 0.19685,
"h": 305.1
},
"luminance": 0.24047
}Semantic roles & 50–950 ramp
primary
#AA66EB
secondary
#D6ECC1
accent
#D90C70
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85