#AA66BF#AA66BF
#AA66BF is a mid, vivid purple. Relative luminance 0.218; OKLCH L 61.9% C 0.148 H 317.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AA66BF |
|---|---|
| RGB | rgb(170, 102, 191) |
| HSL | hsl(286, 41%, 57%) |
| HSV | hsv(286, 47%, 75%) |
| CMYK | cmyk(11%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(53.83, 42.20, -35.81) |
| CIE-LCH | lch(53.83, 55.35, 319.68°) |
| OKLab | oklab(61.93% 0.1095 -0.0991) |
| OKLCH | oklch(61.93% 0.148 317.8) |
| XYZ | xyz(30.7316, 21.8114, 51.8713) |
| Luminance | 0.2181 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.56
Amethyst
#9B5FC0
ΔE00 4.15
Deep Lilac
#966EBD
ΔE00 4.93
Mediumorchid
#BA55D3
ΔE00 5.21
Dark Lilac
#9C6DA5
ΔE00 6.34
Wisteria
#A87DC2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA66BF #7BBF66
analogous
#7E66BF #AA66BF #BF66A7
triadic
#AA66BF #BFAA66 #66BFAA
tetradic
#AA66BF #BF7E66 #7BBF66 #66A7BF
square
#AA66BF #BF7E66 #7BBF66 #66A7BF
split-complementary
#AA66BF #A7BF66 #66BF7E
monochromatic
#683278 #8D44A3 #AA66BF #C291D1 #DABCE3
Accessibility & contrast
On white
3.92
#AA66BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#AA66BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA66BF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA66BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA66BF | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#577CC2
Deuteranopia (green-blind)
#6A83BC
Tritanopia (blue-blind)
#AA7289
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #aa66bf; /* rgb */ color: rgb(170, 102, 191); /* oklch */ color: oklch(61.9% 0.148 317.8);
Tailwind
colors: {
custom: {
50: '#c593d2',
500: '#aa66bf',
950: '#000000',
},
}SCSS
$custom: #aa66bf; $custom-light: #c593d2; $custom-dark: #000000;
JSON
{
"hex": "#aa66bf",
"rgb": {
"r": 170,
"g": 102,
"b": 191
},
"hsl": {
"h": 285.843,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.61932,
"c": 0.14766,
"h": 317.8
},
"luminance": 0.2181
}Semantic roles & 50–950 ramp
primary
#AA66BF
secondary
#B7D2AE
accent
#D15774
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82