#AA50C2#AA50C2

#AA50C2 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.9% C 0.186 H 318.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AA50C2
RGBrgb(170, 80, 194)
HSLhsl(287, 48%, 54%)
HSVhsv(287, 59%, 76%)
CMYKcmyk(12.4%, 58.8%, 0%, 23.9%)
CIE-LABlab(49.71, 54.06, -44.03)
CIE-LCHlch(49.71, 69.72, 320.84°)
OKLaboklab(58.95% 0.1398 -0.1228)
OKLCHoklch(58.95% 0.186 318.7)
XYZxyz(29.1825, 18.1796, 53.0003)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50C2 #68C250
analogous
#7150C2 #AA50C2 #C250A1
triadic
#AA50C2 #C2AA50 #50C2AA
tetradic
#AA50C2 #C27150 #68C250 #50A1C2
square
#AA50C2 #C27150 #68C250 #50A1C2
split-complementary
#AA50C2 #A1C250 #50C271
monochromatic
#612770 #88379E #AA50C2 #C07DD2 #D6ABE2

Accessibility & contrast

On white

4.53
#AA50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AA50C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50C2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50C2#FFFFFF#000000##000000
##AA50C21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#AA6281
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa50c2;
/* rgb */ color: rgb(170, 80, 194);
/* oklch */ color: oklch(58.9% 0.186 318.7);
Tailwind
colors: {
  custom: {
    50: '#c686d5',
    500: '#aa50c2',
    950: '#000000',
  },
}
SCSS
$custom: #aa50c2;
$custom-light: #c686d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50c2",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 287.368,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58949,
    "c": 0.18605,
    "h": 318.7
  },
  "luminance": 0.18178
}

Semantic roles & 50–950 ramp

primary
#AA50C2
secondary
#A9CF9F
accent
#D8506D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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