#AA5CC4#AA5CC4

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

Color values

HEX#AA5CC4
RGBrgb(170, 92, 196)
HSLhsl(285, 47%, 56%)
HSVhsv(285, 53%, 77%)
CMYKcmyk(13.3%, 53.1%, 0%, 23.1%)
CIE-LABlab(52.05, 48.51, -41.48)
CIE-LCHlch(52.05, 63.83, 319.46°)
OKLaboklab(60.69% 0.1241 -0.1154)
OKLCHoklch(60.69% 0.17 317.1)
XYZxyz(30.3671, 20.1869, 54.5107)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CC4 #76C45C
analogous
#765CC4 #AA5CC4 #C45CAA
triadic
#AA5CC4 #C4AA5C #5CC4AA
tetradic
#AA5CC4 #C4765C #76C45C #5CAAC4
square
#AA5CC4 #C4765C #76C45C #5CAAC4
split-complementary
#AA5CC4 #AAC45C #5CC476
monochromatic
#662C7A #8C3CA7 #AA5CC4 #C189D4 #D9B6E5

Accessibility & contrast

On white

4.17
#AA5CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AA5CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CC4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CC4#FFFFFF#000000##000000
##AA5CC41.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4677C7
Deuteranopia (green-blind)
#5F7FC1
Tritanopia (blue-blind)
#A96C87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5cc4;
/* rgb */ color: rgb(170, 92, 196);
/* oklch */ color: oklch(60.7% 0.170 317.1);
Tailwind
colors: {
  custom: {
    50: '#c68dd6',
    500: '#aa5cc4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cc4;
$custom-light: #c68dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cc4",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 285,
    "s": 46.847,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60694,
    "c": 0.16951,
    "h": 317.1
  },
  "luminance": 0.20186
}

Semantic roles & 50–950 ramp

primary
#AA5CC4
secondary
#B3D3A9
accent
#D65173
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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