#AA5CC7#AA5CC7

#AA5CC7 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.9% C 0.173 H 316.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AA5CC7
RGBrgb(170, 92, 199)
HSLhsl(284, 49%, 57%)
HSVhsv(284, 54%, 78%)
CMYKcmyk(14.6%, 53.8%, 0%, 22%)
CIE-LABlab(52.20, 49.13, -42.96)
CIE-LCHlch(52.20, 65.26, 318.83°)
OKLaboklab(60.86% 0.1244 -0.1197)
OKLCHoklch(60.86% 0.173 316.1)
XYZxyz(30.7120, 20.3249, 56.3270)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CC7 #79C75C
analogous
#755CC7 #AA5CC7 #C75CAF
triadic
#AA5CC7 #C7AA5C #5CC7AA
tetradic
#AA5CC7 #C7755C #79C75C #5CAFC7
square
#AA5CC7 #C7755C #79C75C #5CAFC7
split-complementary
#AA5CC7 #AFC75C #5CC775
monochromatic
#672B7D #8D3BAB #AA5CC7 #C28AD7 #DAB7E6

Accessibility & contrast

On white

4.15
#AA5CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AA5CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CC7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CC7#FFFFFF#000000##000000
##AA5CC71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CB
Deuteranopia (green-blind)
#5D7FC4
Tritanopia (blue-blind)
#A96D89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5cc7;
/* rgb */ color: rgb(170, 92, 199);
/* oklch */ color: oklch(60.9% 0.173 316.1);
Tailwind
colors: {
  custom: {
    50: '#c68dd8',
    500: '#aa5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cc7;
$custom-light: #c68dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cc7",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 283.738,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60859,
    "c": 0.17266,
    "h": 316.1
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#AA5CC7
secondary
#B5D5AA
accent
#D84F75
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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