#AA50E2#AA50E2
#AA50E2 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.218 H 309.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AA50E2 |
|---|---|
| RGB | rgb(170, 80, 226) |
| HSL | hsl(277, 72%, 60%) |
| HSV | hsv(277, 65%, 89%) |
| CMYK | cmyk(24.8%, 64.6%, 0%, 11.4%) |
| CIE-LAB | lab(51.58, 60.73, -59.33) |
| CIE-LCH | lch(51.58, 84.90, 315.67°) |
| OKLab | oklab(60.9% 0.1394 -0.1675) |
| OKLCH | oklch(60.9% 0.218 309.8) |
| XYZ | xyz(33.1710, 19.7750, 74.0063) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.21
Lighter Purple
#A55AF4
ΔE00 3.70
Mediumorchid
#BA55D3
ΔE00 4.69
Amethyst
#9B5FC0
ΔE00 6.16
Neon Purple
#BC13FE
ΔE00 6.19
Purpley
#8756E4
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA50E2 #88E250
analogous
#6150E2 #AA50E2 #E250D1
triadic
#AA50E2 #E2AA50 #50E2AA
tetradic
#AA50E2 #E26150 #88E250 #50D1E2
square
#AA50E2 #E26150 #88E250 #50D1E2
split-complementary
#AA50E2 #D1E250 #50E261
monochromatic
#6B1A9E #8F23D2 #AA50E2 #C384EB #DDB9F3
Accessibility & contrast
On white
4.24
#AA50E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#AA50E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA50E2
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA50E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA50E2 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#3B7CDF
Tritanopia (blue-blind)
#A26E92
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #aa50e2; /* rgb */ color: rgb(170, 80, 226); /* oklch */ color: oklch(60.9% 0.218 309.8);
Tailwind
colors: {
custom: {
50: '#c787ec',
500: '#aa50e2',
950: '#000000',
},
}SCSS
$custom: #aa50e2; $custom-light: #c787ec; $custom-dark: #000000;
JSON
{
"hex": "#aa50e2",
"rgb": {
"r": 170,
"g": 80,
"b": 226
},
"hsl": {
"h": 276.986,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.60904,
"c": 0.21797,
"h": 309.8
},
"luminance": 0.19774
}Semantic roles & 50–950 ramp
primary
#AA50E2
secondary
#C0E3AB
accent
#EE397F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84