#AA66EC#AA66EC
#AA66EC is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.4% C 0.198 H 304.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AA66EC |
|---|---|
| RGB | rgb(170, 102, 236) |
| HSL | hsl(270, 78%, 66%) |
| HSV | hsv(270, 57%, 93%) |
| CMYK | cmyk(28%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(56.19, 52.14, -57.55) |
| CIE-LCH | lch(56.19, 77.65, 312.18°) |
| OKLab | oklab(64.45% 0.1132 -0.1624) |
| OKLCH | oklch(64.45% 0.198 304.9) |
| XYZ | xyz(36.4660, 24.1051, 82.0723) |
| Luminance | 0.2410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.03
Lighter Purple
#A55AF4
ΔE00 3.19
Lightish Purple
#A552E6
ΔE00 4.93
Bright Lavender
#C760FF
ΔE00 5.06
Easter Purple
#C071FE
ΔE00 5.16
Mediumpurple
#9370DB
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA66EC #A8EC66
analogous
#6766EC #AA66EC #EC66EB
triadic
#AA66EC #ECAA66 #66ECAA
tetradic
#AA66EC #EC6766 #A8EC66 #66EBEC
square
#AA66EC #EC6766 #A8EC66 #66EBEC
split-complementary
#AA66EC #EBEC66 #66EC67
monochromatic
#6D18C0 #8C30E5 #AA66EC #C89CF3 #E6D3FA
Accessibility & contrast
On white
3.61
#AA66EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#AA66EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA66EC
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA66EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA66EC | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3085F0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#9F809F
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #aa66ec; /* rgb */ color: rgb(170, 102, 236); /* oklch */ color: oklch(64.4% 0.198 304.9);
Tailwind
colors: {
custom: {
50: '#c794f3',
500: '#aa66ec',
950: '#000000',
},
}SCSS
$custom: #aa66ec; $custom-light: #c794f3; $custom-dark: #000000;
JSON
{
"hex": "#aa66ec",
"rgb": {
"r": 170,
"g": 102,
"b": 236
},
"hsl": {
"h": 270.448,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.64447,
"c": 0.19797,
"h": 304.9
},
"luminance": 0.24105
}Semantic roles & 50–950 ramp
primary
#AA66EC
secondary
#D7EDC1
accent
#DA0B71
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85