#AA5DC2#AA5DC2

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

Color values

HEX#AA5DC2
RGBrgb(170, 93, 194)
HSLhsl(286, 45%, 56%)
HSVhsv(286, 52%, 76%)
CMYKcmyk(12.4%, 52.1%, 0%, 23.9%)
CIE-LABlab(52.14, 47.58, -40.18)
CIE-LCHlch(52.14, 62.28, 319.82°)
OKLaboklab(60.73% 0.1225 -0.1117)
OKLCHoklch(60.73% 0.166 317.7)
XYZxyz(30.2282, 20.2708, 53.3488)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DC2 #75C25D
analogous
#785DC2 #AA5DC2 #C25DA8
triadic
#AA5DC2 #C2AA5D #5DC2AA
tetradic
#AA5DC2 #C2785D #75C25D #5DA8C2
square
#AA5DC2 #C2785D #75C25D #5DA8C2
split-complementary
#AA5DC2 #A8C25D #5DC278
monochromatic
#662D78 #8C3EA4 #AA5DC2 #C189D3 #D9B6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5DC2#FFFFFF#000000##000000
##AA5DC21.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)
#4977C5
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#AA6C87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5dc2;
/* rgb */ color: rgb(170, 93, 194);
/* oklch */ color: oklch(60.7% 0.166 317.7);
Tailwind
colors: {
  custom: {
    50: '#c58ed5',
    500: '#aa5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dc2;
$custom-light: #c58ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dc2",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 285.743,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60731,
    "c": 0.1658,
    "h": 317.7
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#AA5DC2
secondary
#B2D2A9
accent
#D55372
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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