#AA5BCE#AA5BCE

#AA5BCE is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.1% C 0.182 H 314.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AA5BCE
RGBrgb(170, 91, 206)
HSLhsl(281, 54%, 58%)
HSVhsv(281, 56%, 81%)
CMYKcmyk(17.5%, 55.8%, 0%, 19.2%)
CIE-LABlab(52.38, 51.11, -46.68)
CIE-LCHlch(52.38, 69.22, 317.59°)
OKLaboklab(61.11% 0.1262 -0.1306)
OKLCHoklch(61.11% 0.182 314)
XYZxyz(31.4574, 20.4853, 60.6775)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BCE #7FCE5B
analogous
#705BCE #AA5BCE #CE5BB9
triadic
#AA5BCE #CEAA5B #5BCEAA
tetradic
#AA5BCE #CE705B #7FCE5B #5BB9CE
square
#AA5BCE #CE705B #7FCE5B #5BB9CE
split-complementary
#AA5BCE #B9CE5B #5BCE70
monochromatic
#692886 #8E36B6 #AA5BCE #C28ADC #DBB9EA

Accessibility & contrast

On white

4.12
#AA5BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AA5BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BCE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BCE#FFFFFF#000000##000000
##AA5BCE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C79D2
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#A76E8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5bce;
/* rgb */ color: rgb(170, 91, 206);
/* oklch */ color: oklch(61.1% 0.182 314.0);
Tailwind
colors: {
  custom: {
    50: '#c68ddd',
    500: '#aa5bce',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bce;
$custom-light: #c68ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bce",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 281.217,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.1816,
    "h": 314
  },
  "luminance": 0.20484
}

Semantic roles & 50–950 ramp

primary
#AA5BCE
secondary
#BAD9AB
accent
#DD4A78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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