#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
RGBrgb(170, 80, 226)
HSLhsl(277, 72%, 60%)
HSVhsv(277, 65%, 89%)
CMYKcmyk(24.8%, 64.6%, 0%, 11.4%)
CIE-LABlab(51.58, 60.73, -59.33)
CIE-LCHlch(51.58, 84.90, 315.67°)
OKLaboklab(60.9% 0.1394 -0.1675)
OKLCHoklch(60.9% 0.218 309.8)
XYZxyz(33.1710, 19.7750, 74.0063)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##AA50E21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.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

Preview Lab

Preview with #AA50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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