#AA5BC2#AA5BC2

#AA5BC2 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.4% C 0.169 H 317.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AA5BC2
RGBrgb(170, 91, 194)
HSLhsl(286, 46%, 56%)
HSVhsv(286, 53%, 76%)
CMYKcmyk(12.4%, 53.1%, 0%, 23.9%)
CIE-LABlab(51.75, 48.61, -40.80)
CIE-LCHlch(51.75, 63.46, 319.99°)
OKLaboklab(60.44% 0.1253 -0.1135)
OKLCHoklch(60.44% 0.169 317.8)
XYZxyz(30.0549, 19.9243, 53.2911)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BC2 #73C25B
analogous
#765BC2 #AA5BC2 #C25BA7
triadic
#AA5BC2 #C2AA5B #5BC2AA
tetradic
#AA5BC2 #C2765B #73C25B #5BA7C2
square
#AA5BC2 #C2765B #73C25B #5BA7C2
split-complementary
#AA5BC2 #A7C25B #5BC276
monochromatic
#652C77 #8B3DA3 #AA5BC2 #C188D3 #D8B4E3

Accessibility & contrast

On white

4.21
#AA5BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AA5BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BC2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BC2#FFFFFF#000000##000000
##AA5BC21.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#AA6A86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5bc2;
/* rgb */ color: rgb(170, 91, 194);
/* oklch */ color: oklch(60.4% 0.169 317.8);
Tailwind
colors: {
  custom: {
    50: '#c58cd5',
    500: '#aa5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bc2;
$custom-light: #c58cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bc2",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 286.019,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60443,
    "c": 0.16903,
    "h": 317.8
  },
  "luminance": 0.19923
}

Semantic roles & 50–950 ramp

primary
#AA5BC2
secondary
#B1D2A7
accent
#D55271
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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