#AA5DCD#AA5DCD

#AA5DCD is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.3% C 0.177 H 314.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AA5DCD
RGBrgb(170, 93, 205)
HSLhsl(281, 53%, 58%)
HSVhsv(281, 55%, 80%)
CMYKcmyk(17.1%, 54.6%, 0%, 19.6%)
CIE-LABlab(52.71, 49.88, -45.59)
CIE-LCHlch(52.71, 67.57, 317.57°)
OKLaboklab(61.33% 0.1235 -0.1274)
OKLCHoklch(61.33% 0.177 314.1)
XYZxyz(31.5095, 20.7834, 60.0975)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DCD #80CD5D
analogous
#725DCD #AA5DCD #CD5DB8
triadic
#AA5DCD #CDAA5D #5DCDAA
tetradic
#AA5DCD #CD725D #80CD5D #5DB8CD
square
#AA5DCD #CD725D #80CD5D #5DB8CD
split-complementary
#AA5DCD #B8CD5D #5DCD72
monochromatic
#692986 #8E38B5 #AA5DCD #C38CDB #DBBBEA

Accessibility & contrast

On white

4.07
#AA5DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AA5DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DCD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DCD#FFFFFF#000000##000000
##AA5DCD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D1
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#A76F8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5dcd;
/* rgb */ color: rgb(170, 93, 205);
/* oklch */ color: oklch(61.3% 0.177 314.1);
Tailwind
colors: {
  custom: {
    50: '#c68edd',
    500: '#aa5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dcd;
$custom-light: #c68edd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dcd",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 281.25,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61335,
    "c": 0.17744,
    "h": 314.1
  },
  "luminance": 0.20783
}

Semantic roles & 50–950 ramp

primary
#AA5DCD
secondary
#BBD9AD
accent
#DC4C79
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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