#AA5BB5#AA5BB5

#AA5BB5 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.8% C 0.156 H 322.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AA5BB5
RGBrgb(170, 91, 181)
HSLhsl(293, 38%, 53%)
HSVhsv(293, 50%, 71%)
CMYKcmyk(6.1%, 49.7%, 0%, 29%)
CIE-LABlab(51.11, 46.00, -34.29)
CIE-LCHlch(51.11, 57.38, 323.30°)
OKLaboklab(59.76% 0.1237 -0.0946)
OKLCHoklch(59.76% 0.156 322.6)
XYZxyz(28.6583, 19.3657, 45.9355)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BB5 #66B55B
analogous
#7D5BB5 #AA5BB5 #B55B93
triadic
#AA5BB5 #B5AA5B #5BB5AA
tetradic
#AA5BB5 #B57D5B #66B55B #5B93B5
square
#AA5BB5 #B57D5B #66B55B #5B93B5
split-complementary
#AA5BB5 #93B55B #5BB57D
monochromatic
#602F67 #884291 #AA5BB5 #C085C8 #D6AFDB

Accessibility & contrast

On white

4.31
#AA5BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AA5BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BB5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BB5#FFFFFF#000000##000000
##AA5BB51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#AC6680
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5bb5;
/* rgb */ color: rgb(170, 91, 181);
/* oklch */ color: oklch(59.8% 0.156 322.6);
Tailwind
colors: {
  custom: {
    50: '#c58ccb',
    500: '#aa5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bb5;
$custom-light: #c58ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bb5",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 292.667,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59763,
    "c": 0.15575,
    "h": 322.6
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#AA5BB5
secondary
#A7C9A3
accent
#CE5A68
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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