#AA5BCC#AA5BCC

#AA5BCC is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.0% C 0.179 H 314.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AA5BCC
RGBrgb(170, 91, 204)
HSLhsl(282, 53%, 58%)
HSVhsv(282, 55%, 80%)
CMYKcmyk(16.7%, 55.4%, 0%, 20%)
CIE-LABlab(52.27, 50.69, -45.71)
CIE-LCHlch(52.27, 68.25, 317.95°)
OKLaboklab(61% 0.1261 -0.1277)
OKLCHoklch(61% 0.179 314.6)
XYZxyz(31.2160, 20.3888, 59.4061)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BCC #7DCC5B
analogous
#715BCC #AA5BCC #CC5BB5
triadic
#AA5BCC #CCAA5B #5BCCAA
tetradic
#AA5BCC #CC715B #7DCC5B #5BB5CC
square
#AA5BCC #CC715B #7DCC5B #5BB5CC
split-complementary
#AA5BCC #B5CC5B #5BCC71
monochromatic
#682984 #8D37B2 #AA5BCC #C28ADB #DAB8E9

Accessibility & contrast

On white

4.14
#AA5BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AA5BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BCC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BCC#FFFFFF#000000##000000
##AA5BCC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#A76E8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5bcc;
/* rgb */ color: rgb(170, 91, 204);
/* oklch */ color: oklch(61.0% 0.179 314.6);
Tailwind
colors: {
  custom: {
    50: '#c68ddc',
    500: '#aa5bcc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bcc;
$custom-light: #c68ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bcc",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 281.947,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.17949,
    "h": 314.6
  },
  "luminance": 0.20388
}

Semantic roles & 50–950 ramp

primary
#AA5BCC
secondary
#B8D8AB
accent
#DC4C77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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