#AA56E3#AA56E3
#AA56E3 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.211 H 308.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AA56E3 |
|---|---|
| RGB | rgb(170, 86, 227) |
| HSL | hsl(276, 72%, 61%) |
| HSV | hsv(276, 62%, 89%) |
| CMYK | cmyk(25.1%, 62.1%, 0%, 11%) |
| CIE-LAB | lab(52.67, 58.12, -58.14) |
| CIE-LCH | lch(52.67, 82.21, 314.99°) |
| OKLab | oklab(61.71% 0.1326 -0.1641) |
| OKLCH | oklch(61.71% 0.211 308.9) |
| XYZ | xyz(33.7677, 20.7482, 74.8841) |
| Luminance | 0.2075 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.53
Lighter Purple
#A55AF4
ΔE00 2.97
Mediumorchid
#BA55D3
ΔE00 4.48
Amethyst
#9B5FC0
ΔE00 5.92
Purpley
#8756E4
ΔE00 6.60
Bright Lilac
#C95EFB
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA56E3 #8FE356
analogous
#6456E3 #AA56E3 #E356D6
triadic
#AA56E3 #E3AA56 #56E3AA
tetradic
#AA56E3 #E36456 #8FE356 #56D6E3
square
#AA56E3 #E36456 #8FE356 #56D6E3
split-complementary
#AA56E3 #D6E356 #56E364
monochromatic
#6C1BA4 #8F24D8 #AA56E3 #C48BEC #DFBFF4
Accessibility & contrast
On white
4.08
#AA56E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#AA56E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA56E3
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA56E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA56E3 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#067AE7
Deuteranopia (green-blind)
#417FE0
Tritanopia (blue-blind)
#A27295
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #aa56e3; /* rgb */ color: rgb(170, 86, 227); /* oklch */ color: oklch(61.7% 0.211 308.9);
Tailwind
colors: {
custom: {
50: '#c78aec',
500: '#aa56e3',
950: '#000000',
},
}SCSS
$custom: #aa56e3; $custom-light: #c78aec; $custom-dark: #000000;
JSON
{
"hex": "#aa56e3",
"rgb": {
"r": 170,
"g": 86,
"b": 227
},
"hsl": {
"h": 275.745,
"s": 71.574,
"l": 61.373
},
"oklch": {
"l": 0.61712,
"c": 0.21092,
"h": 308.9
},
"luminance": 0.20748
}Semantic roles & 50–950 ramp
primary
#AA56E3
secondary
#C5E5B0
accent
#D41260
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84