#AA5ACC#AA5ACC

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

Color values

HEX#AA5ACC
RGBrgb(170, 90, 204)
HSLhsl(282, 53%, 58%)
HSVhsv(282, 56%, 80%)
CMYKcmyk(16.7%, 55.9%, 0%, 20%)
CIE-LABlab(52.08, 51.19, -46.01)
CIE-LCHlch(52.08, 68.83, 318.05°)
OKLaboklab(60.86% 0.1274 -0.1286)
OKLCHoklch(60.86% 0.181 314.7)
XYZxyz(31.1311, 20.2189, 59.3778)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ACC #7CCC5A
analogous
#715ACC #AA5ACC #CC5AB5
triadic
#AA5ACC #CCAA5A #5ACCAA
tetradic
#AA5ACC #CC715A #7CCC5A #5AB5CC
square
#AA5ACC #CC715A #7CCC5A #5AB5CC
split-complementary
#AA5ACC #B5CC5A #5ACC71
monochromatic
#682983 #8D37B2 #AA5ACC #C289DA #DAB7E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5ACC#FFFFFF#000000##000000
##AA5ACC1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D0
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#A76D8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5acc;
/* rgb */ color: rgb(170, 90, 204);
/* oklch */ color: oklch(60.9% 0.181 314.7);
Tailwind
colors: {
  custom: {
    50: '#c68cdc',
    500: '#aa5acc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5acc;
$custom-light: #c68cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5acc",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 282.105,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60857,
    "c": 0.18103,
    "h": 314.7
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#AA5ACC
secondary
#B8D8AA
accent
#DC4C77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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