#AA50E5#AA50E5

#AA50E5 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.1% C 0.221 H 309.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AA50E5
RGBrgb(170, 80, 229)
HSLhsl(276, 74%, 61%)
HSVhsv(276, 65%, 90%)
CMYKcmyk(25.8%, 65.1%, 0%, 10.2%)
CIE-LABlab(51.77, 61.38, -60.72)
CIE-LCHlch(51.77, 86.33, 315.31°)
OKLaboklab(61.1% 0.1392 -0.1716)
OKLCHoklch(61.1% 0.221 309.1)
XYZxyz(33.5863, 19.9411, 76.1933)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50E5 #8BE550
analogous
#6050E5 #AA50E5 #E550D5
triadic
#AA50E5 #E5AA50 #50E5AA
tetradic
#AA50E5 #E56050 #8BE550 #50D5E5
square
#AA50E5 #E56050 #8BE550 #50D5E5
split-complementary
#AA50E5 #D5E550 #50E560
monochromatic
#6C18A2 #8F20D8 #AA50E5 #C485ED #DEBBF5

Accessibility & contrast

On white

4.21
#AA50E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AA50E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50E5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50E5#FFFFFF#000000##000000
##AA50E51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#A16F94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa50e5;
/* rgb */ color: rgb(170, 80, 229);
/* oklch */ color: oklch(61.1% 0.221 309.1);
Tailwind
colors: {
  custom: {
    50: '#c887ee',
    500: '#aa50e5',
    950: '#000000',
  },
}
SCSS
$custom: #aa50e5;
$custom-light: #c887ee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50e5",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 276.242,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.611,
    "c": 0.22099,
    "h": 309.1
  },
  "luminance": 0.19941
}

Semantic roles & 50–950 ramp

primary
#AA50E5
secondary
#C3E5AC
accent
#D60F5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AA50E5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AA50E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva