#AA51E3#AA51E3
#AA51E3 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.1% C 0.218 H 309.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AA51E3 |
|---|---|
| RGB | rgb(170, 81, 227) |
| HSL | hsl(277, 72%, 60%) |
| HSV | hsv(277, 64%, 89%) |
| CMYK | cmyk(25.1%, 64.3%, 0%, 11%) |
| CIE-LAB | lab(51.81, 60.48, -59.52) |
| CIE-LCH | lch(51.81, 84.86, 315.46°) |
| OKLab | oklab(61.09% 0.1383 -0.1681) |
| OKLCH | oklch(61.09% 0.218 309.4) |
| XYZ | xyz(33.3824, 19.9776, 74.7556) |
| Luminance | 0.1998 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.10
Lighter Purple
#A55AF4
ΔE00 3.45
Mediumorchid
#BA55D3
ΔE00 4.71
Amethyst
#9B5FC0
ΔE00 6.20
Neon Purple
#BC13FE
ΔE00 6.30
Purpley
#8756E4
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA51E3 #8AE351
analogous
#6151E3 #AA51E3 #E351D3
triadic
#AA51E3 #E3AA51 #51E3AA
tetradic
#AA51E3 #E36151 #8AE351 #51D3E3
square
#AA51E3 #E36151 #8AE351 #51D3E3
split-complementary
#AA51E3 #D3E351 #51E361
monochromatic
#6B1AA0 #8F22D5 #AA51E3 #C486EB #DEBAF4
Accessibility & contrast
On white
4.20
#AA51E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#AA51E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA51E3
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA51E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA51E3 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#3B7DE0
Tritanopia (blue-blind)
#A26F93
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #aa51e3; /* rgb */ color: rgb(170, 81, 227); /* oklch */ color: oklch(61.1% 0.218 309.4);
Tailwind
colors: {
custom: {
50: '#c787ed',
500: '#aa51e3',
950: '#000000',
},
}SCSS
$custom: #aa51e3; $custom-light: #c787ed; $custom-dark: #000000;
JSON
{
"hex": "#aa51e3",
"rgb": {
"r": 170,
"g": 81,
"b": 227
},
"hsl": {
"h": 276.575,
"s": 72.277,
"l": 60.392
},
"oklch": {
"l": 0.6109,
"c": 0.21765,
"h": 309.4
},
"luminance": 0.19977
}Semantic roles & 50–950 ramp
primary
#AA51E3
secondary
#C2E4AC
accent
#D4115D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84