#AA51E6#AA51E6
#AA51E6 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.221 H 308.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AA51E6 |
|---|---|
| RGB | rgb(170, 81, 230) |
| HSL | hsl(276, 75%, 61%) |
| HSV | hsv(276, 65%, 90%) |
| CMYK | cmyk(26.1%, 64.8%, 0%, 9.8%) |
| CIE-LAB | lab(52.00, 61.13, -60.91) |
| CIE-LCH | lch(52.00, 86.30, 315.11°) |
| OKLab | oklab(61.29% 0.1381 -0.1722) |
| OKLCH | oklch(61.29% 0.221 308.7) |
| XYZ | xyz(33.8000, 20.1446, 76.9553) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.90
Lighter Purple
#A55AF4
ΔE00 3.08
Mediumorchid
#BA55D3
ΔE00 5.00
Neon Purple
#BC13FE
ΔE00 6.19
Purpley
#8756E4
ΔE00 6.31
Electric Purple
#AA23FF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA51E6 #8DE651
analogous
#5F51E6 #AA51E6 #E651D7
triadic
#AA51E6 #E6AA51 #51E6AA
tetradic
#AA51E6 #E65F51 #8DE651 #51D7E6
square
#AA51E6 #E65F51 #8DE651 #51D7E6
split-complementary
#AA51E6 #D7E651 #51E65F
monochromatic
#6C18A5 #8F1FDA #AA51E6 #C487EE #DEBCF5
Accessibility & contrast
On white
4.18
#AA51E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#AA51E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA51E6
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA51E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA51E6 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#377DE3
Tritanopia (blue-blind)
#A17095
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #aa51e6; /* rgb */ color: rgb(170, 81, 230); /* oklch */ color: oklch(61.3% 0.221 308.7);
Tailwind
colors: {
custom: {
50: '#c887ef',
500: '#aa51e6',
950: '#000000',
},
}SCSS
$custom: #aa51e6; $custom-light: #c887ef; $custom-dark: #000000;
JSON
{
"hex": "#aa51e6",
"rgb": {
"r": 170,
"g": 81,
"b": 230
},
"hsl": {
"h": 275.839,
"s": 74.874,
"l": 60.98
},
"oklch": {
"l": 0.61286,
"c": 0.2207,
"h": 308.7
},
"luminance": 0.20144
}Semantic roles & 50–950 ramp
primary
#AA51E6
secondary
#C4E5AD
accent
#D70E5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84