#AA5CB3#AA5CB3

#AA5CB3 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.8% C 0.152 H 323.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AA5CB3
RGBrgb(170, 92, 179)
HSLhsl(294, 36%, 53%)
HSVhsv(294, 49%, 70%)
CMYKcmyk(5%, 48.6%, 0%, 29.8%)
CIE-LABlab(51.22, 45.09, -32.96)
CIE-LCHlch(51.22, 55.86, 323.83°)
OKLaboklab(59.81% 0.122 -0.0908)
OKLCHoklch(59.81% 0.152 323.3)
XYZxyz(28.5406, 19.4563, 44.8912)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CB3 #65B35C
analogous
#7E5CB3 #AA5CB3 #B35C90
triadic
#AA5CB3 #B3AA5C #5CB3AA
tetradic
#AA5CB3 #B37E5C #65B35C #5C90B3
square
#AA5CB3 #B37E5C #65B35C #5C90B3
split-complementary
#AA5CB3 #90B35C #5CB37E
monochromatic
#602F65 #87438F #AA5CB3 #C086C6 #D6AFDA

Accessibility & contrast

On white

4.29
#AA5CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AA5CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CB3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CB3#FFFFFF#000000##000000
##AA5CB31.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B6
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#AD677F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5cb3;
/* rgb */ color: rgb(170, 92, 179);
/* oklch */ color: oklch(59.8% 0.152 323.3);
Tailwind
colors: {
  custom: {
    50: '#c58dca',
    500: '#aa5cb3',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cb3;
$custom-light: #c58dca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cb3",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 293.793,
    "s": 36.402,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.15207,
    "h": 323.3
  },
  "luminance": 0.19455
}

Semantic roles & 50–950 ramp

primary
#AA5CB3
secondary
#A7C8A3
accent
#CC5B67
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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