#AA5DC1#AA5DC1

#AA5DC1 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.7% C 0.165 H 318.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AA5DC1
RGBrgb(170, 93, 193)
HSLhsl(286, 45%, 56%)
HSVhsv(286, 52%, 76%)
CMYKcmyk(11.9%, 51.8%, 0%, 24.3%)
CIE-LABlab(52.09, 47.37, -39.69)
CIE-LCHlch(52.09, 61.80, 320.04°)
OKLaboklab(60.68% 0.1224 -0.1102)
OKLCHoklch(60.68% 0.165 318)
XYZxyz(30.1162, 20.2261, 52.7594)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DC1 #74C15D
analogous
#785DC1 #AA5DC1 #C15DA6
triadic
#AA5DC1 #C1AA5D #5DC1AA
tetradic
#AA5DC1 #C1785D #74C15D #5DA6C1
square
#AA5DC1 #C1785D #74C15D #5DA6C1
split-complementary
#AA5DC1 #A6C15D #5DC178
monochromatic
#662D76 #8B3EA3 #AA5DC1 #C189D2 #D8B6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5DC1#FFFFFF#000000##000000
##AA5DC11.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)
#4977C4
Deuteranopia (green-blind)
#617FBE
Tritanopia (blue-blind)
#AA6C86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5dc1;
/* rgb */ color: rgb(170, 93, 193);
/* oklch */ color: oklch(60.7% 0.165 318.0);
Tailwind
colors: {
  custom: {
    50: '#c58ed4',
    500: '#aa5dc1',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dc1;
$custom-light: #c58ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dc1",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 286.2,
    "s": 44.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60677,
    "c": 0.16475,
    "h": 318
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#AA5DC1
secondary
#B2D2A8
accent
#D45371
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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