#AA5CBC#AA5CBC

#AA5CBC is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.3% C 0.161 H 319.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AA5CBC
RGBrgb(170, 92, 188)
HSLhsl(289, 42%, 55%)
HSVhsv(289, 51%, 74%)
CMYKcmyk(9.6%, 51.1%, 0%, 26.3%)
CIE-LABlab(51.65, 46.87, -37.51)
CIE-LCHlch(51.65, 60.03, 321.34°)
OKLaboklab(60.27% 0.1232 -0.1039)
OKLCHoklch(60.27% 0.161 319.9)
XYZxyz(29.4807, 19.8323, 49.8423)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CBC #6EBC5C
analogous
#7A5CBC #AA5CBC #BC5C9E
triadic
#AA5CBC #BCAA5C #5CBCAA
tetradic
#AA5CBC #BC7A5C #6EBC5C #5C9EBC
square
#AA5CBC #BC7A5C #6EBC5C #5C9EBC
split-complementary
#AA5CBC #9EBC5C #5CBC7A
monochromatic
#632E70 #8A409B #AA5CBC #C187CE #D7B3E0

Accessibility & contrast

On white

4.23
#AA5CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AA5CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CBC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CBC#FFFFFF#000000##000000
##AA5CBC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B76BF
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#AB6983
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa5cbc;
/* rgb */ color: rgb(170, 92, 188);
/* oklch */ color: oklch(60.3% 0.161 319.9);
Tailwind
colors: {
  custom: {
    50: '#c58dd0',
    500: '#aa5cbc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cbc;
$custom-light: #c58dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cbc",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 288.75,
    "s": 41.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.1612,
    "h": 319.9
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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