#AA5BB2#AA5BB2

#AA5BB2 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.6% C 0.153 H 323.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AA5BB2
RGBrgb(170, 91, 178)
HSLhsl(294, 36%, 53%)
HSVhsv(294, 49%, 70%)
CMYKcmyk(4.5%, 48.9%, 0%, 30.2%)
CIE-LABlab(50.97, 45.42, -32.77)
CIE-LCHlch(50.97, 56.00, 324.19°)
OKLaboklab(59.61% 0.1232 -0.0902)
OKLCHoklch(59.61% 0.153 323.8)
XYZxyz(28.3538, 19.2439, 44.3318)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BB2 #63B25B
analogous
#7E5BB2 #AA5BB2 #B25B8E
triadic
#AA5BB2 #B2AA5B #5BB2AA
tetradic
#AA5BB2 #B27E5B #63B25B #5B8EB2
square
#AA5BB2 #B27E5B #63B25B #5B8EB2
split-complementary
#AA5BB2 #8EB25B #5BB27E
monochromatic
#5F2F64 #87428D #AA5BB2 #C085C6 #D5AED9

Accessibility & contrast

On white

4.33
#AA5BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AA5BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BB2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BB2#FFFFFF#000000##000000
##AA5BB21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#AD667E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa5bb2;
/* rgb */ color: rgb(170, 91, 178);
/* oklch */ color: oklch(59.6% 0.153 323.8);
Tailwind
colors: {
  custom: {
    50: '#c58cc9',
    500: '#aa5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bb2;
$custom-light: #c58cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bb2",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 294.483,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59612,
    "c": 0.15275,
    "h": 323.8
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

primary
#AA5BB2
secondary
#A5C7A2
accent
#CC5C66
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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