#AA5ABC#AA5ABC

#AA5ABC is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.0% C 0.164 H 320.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AA5ABC
RGBrgb(170, 90, 188)
HSLhsl(289, 42%, 55%)
HSVhsv(289, 52%, 74%)
CMYKcmyk(9.6%, 52.1%, 0%, 26.3%)
CIE-LABlab(51.26, 47.90, -38.12)
CIE-LCHlch(51.26, 61.22, 321.49°)
OKLaboklab(59.98% 0.126 -0.1057)
OKLCHoklch(59.98% 0.164 320)
XYZxyz(29.3097, 19.4904, 49.7853)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ABC #6CBC5A
analogous
#795ABC #AA5ABC #BC5A9D
triadic
#AA5ABC #BCAA5A #5ABCAA
tetradic
#AA5ABC #BC795A #6CBC5A #5A9DBC
square
#AA5ABC #BC795A #6CBC5A #5A9DBC
split-complementary
#AA5ABC #9DBC5A #5ABC79
monochromatic
#632D6F #893F9A #AA5ABC #C086CE #D7B1DF

Accessibility & contrast

On white

4.29
#AA5ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AA5ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5ABC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5ABC#FFFFFF#000000##000000
##AA5ABC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#AB6883
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa5abc;
/* rgb */ color: rgb(170, 90, 188);
/* oklch */ color: oklch(60.0% 0.164 320.0);
Tailwind
colors: {
  custom: {
    50: '#c58cd0',
    500: '#aa5abc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5abc;
$custom-light: #c58cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5abc",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 288.98,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.16447,
    "h": 320
  },
  "luminance": 0.19489
}

Semantic roles & 50–950 ramp

primary
#AA5ABC
secondary
#ACCEA4
accent
#D2566D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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