#AA5ACE#AA5ACE

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

Color values

HEX#AA5ACE
RGBrgb(170, 90, 206)
HSLhsl(281, 54%, 58%)
HSVhsv(281, 56%, 81%)
CMYKcmyk(17.5%, 56.3%, 0%, 19.2%)
CIE-LABlab(52.19, 51.62, -46.99)
CIE-LCHlch(52.19, 69.80, 317.69°)
OKLaboklab(60.97% 0.1275 -0.1315)
OKLCHoklch(60.97% 0.183 314.1)
XYZxyz(31.3725, 20.3155, 60.6492)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ACE #7ECE5A
analogous
#705ACE #AA5ACE #CE5AB8
triadic
#AA5ACE #CEAA5A #5ACEAA
tetradic
#AA5ACE #CE705A #7ECE5A #5AB8CE
square
#AA5ACE #CE705A #7ECE5A #5AB8CE
split-complementary
#AA5ACE #B8CE5A #5ACE70
monochromatic
#692886 #8E36B5 #AA5ACE #C289DC #DBB8EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5ACE#FFFFFF#000000##000000
##AA5ACE1.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)
#3A78D2
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#A76E8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5ace;
/* rgb */ color: rgb(170, 90, 206);
/* oklch */ color: oklch(61.0% 0.183 314.1);
Tailwind
colors: {
  custom: {
    50: '#c68cdd',
    500: '#aa5ace',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ace;
$custom-light: #c68cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ace",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 281.379,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.18313,
    "h": 314.1
  },
  "luminance": 0.20315
}

Semantic roles & 50–950 ramp

primary
#AA5ACE
secondary
#B9D9AB
accent
#DE4A78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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