#AA5ACD#AA5ACD

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

Color values

HEX#AA5ACD
RGBrgb(170, 90, 205)
HSLhsl(282, 53%, 58%)
HSVhsv(282, 56%, 80%)
CMYKcmyk(17.1%, 56.1%, 0%, 19.6%)
CIE-LABlab(52.14, 51.40, -46.50)
CIE-LCHlch(52.14, 69.32, 317.87°)
OKLaboklab(60.91% 0.1275 -0.13)
OKLCHoklch(60.91% 0.182 314.4)
XYZxyz(31.2514, 20.2671, 60.0115)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ACD #7DCD5A
analogous
#705ACD #AA5ACD #CD5AB6
triadic
#AA5ACD #CDAA5A #5ACDAA
tetradic
#AA5ACD #CD705A #7DCD5A #5AB6CD
square
#AA5ACD #CD705A #7DCD5A #5AB6CD
split-complementary
#AA5ACD #B6CD5A #5ACD70
monochromatic
#682884 #8D36B3 #AA5ACD #C289DB #DAB8E9

Accessibility & contrast

On white

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

On black

5.05
#AA5ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5ACD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5ACD#FFFFFF#000000##000000
##AA5ACD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#587ECA
Tritanopia (blue-blind)
#A76D8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5acd;
/* rgb */ color: rgb(170, 90, 205);
/* oklch */ color: oklch(60.9% 0.182 314.4);
Tailwind
colors: {
  custom: {
    50: '#c68cdd',
    500: '#aa5acd',
    950: '#000000',
  },
}
SCSS
$custom: #aa5acd;
$custom-light: #c68cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5acd",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 281.739,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60914,
    "c": 0.18208,
    "h": 314.4
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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