#AA5BBB#AA5BBB

#AA5BBB is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.1% C 0.162 H 320.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AA5BBB
RGBrgb(170, 91, 187)
HSLhsl(289, 41%, 55%)
HSVhsv(289, 51%, 73%)
CMYKcmyk(9.1%, 51.3%, 0%, 26.7%)
CIE-LABlab(51.40, 47.19, -37.31)
CIE-LCHlch(51.40, 60.16, 321.67°)
OKLaboklab(60.07% 0.1245 -0.1034)
OKLCHoklch(60.07% 0.162 320.3)
XYZxyz(29.2872, 19.6173, 49.2479)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BBB #6CBB5B
analogous
#7A5BBB #AA5BBB #BB5B9C
triadic
#AA5BBB #BBAA5B #5BBBAA
tetradic
#AA5BBB #BB7A5B #6CBB5B #5B9CBB
square
#AA5BBB #BB7A5B #6CBB5B #5B9CBB
split-complementary
#AA5BBB #9CBB5B #5BBB7A
monochromatic
#632E6E #894099 #AA5BBB #C086CD #D7B2DF

Accessibility & contrast

On white

4.27
#AA5BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AA5BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BBB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BBB#FFFFFF#000000##000000
##AA5BBB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#AB6883
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5bbb;
/* rgb */ color: rgb(170, 91, 187);
/* oklch */ color: oklch(60.1% 0.162 320.3);
Tailwind
colors: {
  custom: {
    50: '#c58cd0',
    500: '#aa5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bbb;
$custom-light: #c58cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bbb",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 289.375,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60071,
    "c": 0.16182,
    "h": 320.3
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

primary
#AA5BBB
secondary
#ACCDA5
accent
#D1576C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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