#AA5CC8#AA5CC8

#AA5CC8 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.9% C 0.174 H 315.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AA5CC8
RGBrgb(170, 92, 200)
HSLhsl(283, 50%, 57%)
HSVhsv(283, 54%, 78%)
CMYKcmyk(15%, 54%, 0%, 21.6%)
CIE-LABlab(52.25, 49.34, -43.45)
CIE-LCHlch(52.25, 65.74, 318.63°)
OKLaboklab(60.91% 0.1245 -0.1212)
OKLCHoklch(60.91% 0.174 315.8)
XYZxyz(30.8284, 20.3714, 56.9405)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CC8 #7AC85C
analogous
#745CC8 #AA5CC8 #C85CB0
triadic
#AA5CC8 #C8AA5C #5CC8AA
tetradic
#AA5CC8 #C8745C #7AC85C #5CB0C8
square
#AA5CC8 #C8745C #7AC85C #5CB0C8
split-complementary
#AA5CC8 #B0C85C #5CC874
monochromatic
#672B7F #8D3AAD #AA5CC8 #C28AD7 #DAB8E7

Accessibility & contrast

On white

4.14
#AA5CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AA5CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CC8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CC8#FFFFFF#000000##000000
##AA5CC81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CC
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#A86D89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5cc8;
/* rgb */ color: rgb(170, 92, 200);
/* oklch */ color: oklch(60.9% 0.174 315.8);
Tailwind
colors: {
  custom: {
    50: '#c68dd9',
    500: '#aa5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cc8;
$custom-light: #c68dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cc8",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 283.333,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60914,
    "c": 0.17372,
    "h": 315.8
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#AA5CC8
secondary
#B6D6AA
accent
#D94F75
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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