#AA50E6#AA50E6
#AA50E6 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.2% C 0.222 H 308.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AA50E6 |
|---|---|
| RGB | rgb(170, 80, 230) |
| HSL | hsl(276, 75%, 61%) |
| HSV | hsv(276, 65%, 90%) |
| CMYK | cmyk(26.1%, 65.2%, 0%, 9.8%) |
| CIE-LAB | lab(51.83, 61.59, -61.18) |
| CIE-LCH | lch(51.83, 86.81, 315.19°) |
| OKLab | oklab(61.17% 0.1392 -0.173) |
| OKLCH | oklch(61.17% 0.222 308.8) |
| XYZ | xyz(33.7263, 19.9971, 76.9307) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.90
Lighter Purple
#A55AF4
ΔE00 3.21
Mediumorchid
#BA55D3
ΔE00 5.06
Neon Purple
#BC13FE
ΔE00 6.02
Purpley
#8756E4
ΔE00 6.29
Electric Purple
#AA23FF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA50E6 #8CE650
analogous
#5F50E6 #AA50E6 #E650D7
triadic
#AA50E6 #E6AA50 #50E6AA
tetradic
#AA50E6 #E65F50 #8CE650 #50D7E6
square
#AA50E6 #E65F50 #8CE650 #50D7E6
split-complementary
#AA50E6 #D7E650 #50E65F
monochromatic
#6C17A4 #8F1FDA #AA50E6 #C486EE #DEBBF5
Accessibility & contrast
On white
4.20
#AA50E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#AA50E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA50E6
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA50E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA50E6 | 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)
#0078EB
Deuteranopia (green-blind)
#367DE3
Tritanopia (blue-blind)
#A16F94
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #aa50e6; /* rgb */ color: rgb(170, 80, 230); /* oklch */ color: oklch(61.2% 0.222 308.8);
Tailwind
colors: {
custom: {
50: '#c887ef',
500: '#aa50e6',
950: '#000000',
},
}SCSS
$custom: #aa50e6; $custom-light: #c887ef; $custom-dark: #000000;
JSON
{
"hex": "#aa50e6",
"rgb": {
"r": 170,
"g": 80,
"b": 230
},
"hsl": {
"h": 276,
"s": 75,
"l": 60.784
},
"oklch": {
"l": 0.61166,
"c": 0.22199,
"h": 308.8
},
"luminance": 0.19997
}Semantic roles & 50–950 ramp
primary
#AA50E6
secondary
#C3E5AC
accent
#D70E5F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84