#AA50E3#AA50E3

#AA50E3 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.0% C 0.219 H 309.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA50E3
RGBrgb(170, 80, 227)
HSLhsl(277, 72%, 60%)
HSVhsv(277, 65%, 89%)
CMYKcmyk(25.1%, 64.8%, 0%, 11%)
CIE-LABlab(51.64, 60.94, -59.79)
CIE-LCHlch(51.64, 85.37, 315.55°)
OKLaboklab(60.97% 0.1394 -0.1689)
OKLCHoklch(60.97% 0.219 309.5)
XYZxyz(33.3086, 19.8300, 74.7311)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50E3 #89E350
analogous
#6150E3 #AA50E3 #E350D2
triadic
#AA50E3 #E3AA50 #50E3AA
tetradic
#AA50E3 #E36150 #89E350 #50D2E3
square
#AA50E3 #E36150 #89E350 #50D2E3
split-complementary
#AA50E3 #D2E350 #50E361
monochromatic
#6B199F #8F22D4 #AA50E3 #C485EB #DDBAF4

Accessibility & contrast

On white

4.23
#AA50E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AA50E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50E3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50E3#FFFFFF#000000##000000
##AA50E31.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#397CE0
Tritanopia (blue-blind)
#A26E93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa50e3;
/* rgb */ color: rgb(170, 80, 227);
/* oklch */ color: oklch(61.0% 0.219 309.5);
Tailwind
colors: {
  custom: {
    50: '#c787ed',
    500: '#aa50e3',
    950: '#000000',
  },
}
SCSS
$custom: #aa50e3;
$custom-light: #c787ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50e3",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 276.735,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60969,
    "c": 0.21898,
    "h": 309.5
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#AA50E3
secondary
#C1E4AB
accent
#D4115D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AA50E3

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

Preview Lab → · Contrast checker → · Palette generator →

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