#AA50CB#AA50CB

#AA50CB is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.195 H 315.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AA50CB
RGBrgb(170, 80, 203)
HSLhsl(284, 54%, 55%)
HSVhsv(284, 61%, 80%)
CMYKcmyk(16.3%, 60.6%, 0%, 20.4%)
CIE-LABlab(50.21, 55.88, -48.42)
CIE-LCHlch(50.21, 73.94, 319.09°)
OKLaboklab(59.47% 0.14 -0.1356)
OKLCHoklch(59.47% 0.195 315.9)
XYZxyz(30.2241, 18.5962, 58.4857)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50CB #71CB50
analogous
#6C50CB #AA50CB #CB50AF
triadic
#AA50CB #CBAA50 #50CBAA
tetradic
#AA50CB #CB6C50 #71CB50 #50AFCB
square
#AA50CB #CB6C50 #71CB50 #50AFCB
split-complementary
#AA50CB #AFCB50 #50CB6C
monochromatic
#64257C #8B33AB #AA50CB #C17FD9 #D8AEE7

Accessibility & contrast

On white

4.45
#AA50CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AA50CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50CB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50CB#FFFFFF#000000##000000
##AA50CB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#A86586
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa50cb;
/* rgb */ color: rgb(170, 80, 203);
/* oklch */ color: oklch(59.5% 0.195 315.9);
Tailwind
colors: {
  custom: {
    50: '#c686db',
    500: '#aa50cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa50cb;
$custom-light: #c686db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50cb",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 283.902,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.19493,
    "h": 315.9
  },
  "luminance": 0.18595
}

Semantic roles & 50–950 ramp

primary
#AA50CB
secondary
#B0D5A2
accent
#DE4A72
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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