#AA5CC5#AA5CC5

#AA5CC5 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.7% C 0.171 H 316.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AA5CC5
RGBrgb(170, 92, 197)
HSLhsl(285, 48%, 57%)
HSVhsv(285, 53%, 77%)
CMYKcmyk(13.7%, 53.3%, 0%, 22.7%)
CIE-LABlab(52.10, 48.71, -41.98)
CIE-LCHlch(52.10, 64.30, 319.25°)
OKLaboklab(60.75% 0.1242 -0.1169)
OKLCHoklch(60.75% 0.171 316.7)
XYZxyz(30.4813, 20.2326, 55.1121)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CC5 #77C55C
analogous
#765CC5 #AA5CC5 #C55CAC
triadic
#AA5CC5 #C5AA5C #5CC5AA
tetradic
#AA5CC5 #C5765C #77C55C #5CACC5
square
#AA5CC5 #C5765C #77C55C #5CACC5
split-complementary
#AA5CC5 #ACC55C #5CC576
monochromatic
#672C7B #8C3CA8 #AA5CC5 #C289D5 #D9B6E5

Accessibility & contrast

On white

4.16
#AA5CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AA5CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CC5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CC5#FFFFFF#000000##000000
##AA5CC51.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4577C8
Deuteranopia (green-blind)
#5E7FC2
Tritanopia (blue-blind)
#A96C88
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5cc5;
/* rgb */ color: rgb(170, 92, 197);
/* oklch */ color: oklch(60.7% 0.171 316.7);
Tailwind
colors: {
  custom: {
    50: '#c68dd7',
    500: '#aa5cc5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cc5;
$custom-light: #c68dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cc5",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 284.571,
    "s": 47.511,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60749,
    "c": 0.17056,
    "h": 316.7
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

primary
#AA5CC5
secondary
#B4D4A9
accent
#D75173
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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