#AA5CCE#AA5CCE

#AA5CCE is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.3% C 0.180 H 313.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AA5CCE
RGBrgb(170, 92, 206)
HSLhsl(281, 54%, 58%)
HSVhsv(281, 55%, 81%)
CMYKcmyk(17.5%, 55.3%, 0%, 19.2%)
CIE-LABlab(52.57, 50.60, -46.38)
CIE-LCHlch(52.57, 68.64, 317.49°)
OKLaboklab(61.25% 0.1249 -0.1297)
OKLCHoklch(61.25% 0.18 313.9)
XYZxyz(31.5434, 20.6574, 60.7062)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CCE #80CE5C
analogous
#715CCE #AA5CCE #CE5CB9
triadic
#AA5CCE #CEAA5C #5CCEAA
tetradic
#AA5CCE #CE715C #80CE5C #5CB9CE
square
#AA5CCE #CE715C #80CE5C #5CB9CE
split-complementary
#AA5CCE #B9CE5C #5CCE71
monochromatic
#692987 #8E37B6 #AA5CCE #C38BDC #DBBAEA

Accessibility & contrast

On white

4.09
#AA5CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AA5CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CCE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CCE#FFFFFF#000000##000000
##AA5CCE1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D2
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#A76F8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5cce;
/* rgb */ color: rgb(170, 92, 206);
/* oklch */ color: oklch(61.3% 0.180 313.9);
Tailwind
colors: {
  custom: {
    50: '#c68ddd',
    500: '#aa5cce',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cce;
$custom-light: #c68ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cce",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 281.053,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.18005,
    "h": 313.9
  },
  "luminance": 0.20657
}

Semantic roles & 50–950 ramp

primary
#AA5CCE
secondary
#BBDAAC
accent
#DD4B79
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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