#AA5CC2#AA5CC2

#AA5CC2 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.6% C 0.167 H 317.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AA5CC2
RGBrgb(170, 92, 194)
HSLhsl(286, 46%, 56%)
HSVhsv(286, 53%, 76%)
CMYKcmyk(12.4%, 52.6%, 0%, 23.9%)
CIE-LABlab(51.95, 48.09, -40.49)
CIE-LCHlch(51.95, 62.87, 319.90°)
OKLaboklab(60.59% 0.1239 -0.1126)
OKLCHoklch(60.59% 0.167 317.7)
XYZxyz(30.1410, 20.0965, 53.3198)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CC2 #74C25C
analogous
#775CC2 #AA5CC2 #C25CA7
triadic
#AA5CC2 #C2AA5C #5CC2AA
tetradic
#AA5CC2 #C2775C #74C25C #5CA7C2
square
#AA5CC2 #C2775C #74C25C #5CA7C2
split-complementary
#AA5CC2 #A7C25C #5CC277
monochromatic
#662D77 #8B3DA4 #AA5CC2 #C189D3 #D8B5E3

Accessibility & contrast

On white

4.18
#AA5CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AA5CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CC2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CC2#FFFFFF#000000##000000
##AA5CC21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#607EBF
Tritanopia (blue-blind)
#AA6B86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5cc2;
/* rgb */ color: rgb(170, 92, 194);
/* oklch */ color: oklch(60.6% 0.167 317.7);
Tailwind
colors: {
  custom: {
    50: '#c58dd5',
    500: '#aa5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cc2;
$custom-light: #c58dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cc2",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 285.882,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60586,
    "c": 0.16742,
    "h": 317.7
  },
  "luminance": 0.20095
}

Semantic roles & 50–950 ramp

primary
#AA5CC2
secondary
#B2D2A8
accent
#D55371
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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