#AA5DC8#AA5DC8

#AA5DC8 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.1% C 0.172 H 315.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AA5DC8
RGBrgb(170, 93, 200)
HSLhsl(283, 49%, 57%)
HSVhsv(283, 54%, 78%)
CMYKcmyk(15%, 53.5%, 0%, 21.6%)
CIE-LABlab(52.45, 48.82, -43.15)
CIE-LCHlch(52.45, 65.16, 318.53°)
OKLaboklab(61.06% 0.1231 -0.1203)
OKLCHoklch(61.06% 0.172 315.7)
XYZxyz(30.9156, 20.5458, 56.9696)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DC8 #7BC85D
analogous
#755DC8 #AA5DC8 #C85DB0
triadic
#AA5DC8 #C8AA5D #5DC8AA
tetradic
#AA5DC8 #C8755D #7BC85D #5DB0C8
square
#AA5DC8 #C8755D #7BC85D #5DB0C8
split-complementary
#AA5DC8 #B0C85D #5DC875
monochromatic
#682B7F #8D3BAD #AA5DC8 #C28BD8 #DAB8E7

Accessibility & contrast

On white

4.11
#AA5DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AA5DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DC8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DC8#FFFFFF#000000##000000
##AA5DC81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CC
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#A86E8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5dc8;
/* rgb */ color: rgb(170, 93, 200);
/* oklch */ color: oklch(61.1% 0.172 315.7);
Tailwind
colors: {
  custom: {
    50: '#c68ed9',
    500: '#aa5dc8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dc8;
$custom-light: #c68ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dc8",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 283.178,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.17213,
    "h": 315.7
  },
  "luminance": 0.20545
}

Semantic roles & 50–950 ramp

primary
#AA5DC8
secondary
#B7D6AB
accent
#D94F76
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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