#AA50C8#AA50C8

#AA50C8 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.192 H 316.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AA50C8
RGBrgb(170, 80, 200)
HSLhsl(285, 52%, 55%)
HSVhsv(285, 60%, 78%)
CMYKcmyk(15%, 60%, 0%, 21.6%)
CIE-LABlab(50.04, 55.27, -46.96)
CIE-LCHlch(50.04, 72.53, 319.65°)
OKLaboklab(59.3% 0.14 -0.1313)
OKLCHoklch(59.3% 0.192 316.8)
XYZxyz(29.8700, 18.4546, 56.6210)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50C8 #6EC850
analogous
#6E50C8 #AA50C8 #C850AA
triadic
#AA50C8 #C8AA50 #50C8AA
tetradic
#AA50C8 #C86E50 #6EC850 #50AAC8
square
#AA50C8 #C86E50 #6EC850 #50AAC8
split-complementary
#AA50C8 #AAC850 #50C86E
monochromatic
#632678 #8A34A6 #AA50C8 #C17FD7 #D7ADE5

Accessibility & contrast

On white

4.48
#AA50C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AA50C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50C8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50C8#FFFFFF#000000##000000
##AA50C81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#A96485
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa50c8;
/* rgb */ color: rgb(170, 80, 200);
/* oklch */ color: oklch(59.3% 0.192 316.8);
Tailwind
colors: {
  custom: {
    50: '#c686d9',
    500: '#aa50c8',
    950: '#000000',
  },
}
SCSS
$custom: #aa50c8;
$custom-light: #c686d9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50c8",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 285,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.19195,
    "h": 316.8
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

primary
#AA50C8
secondary
#ADD3A1
accent
#DC4C70
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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