#AA5DC7#AA5DC7

#AA5DC7 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.0% C 0.171 H 316.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AA5DC7
RGBrgb(170, 93, 199)
HSLhsl(284, 49%, 57%)
HSVhsv(284, 53%, 78%)
CMYKcmyk(14.6%, 53.3%, 0%, 22%)
CIE-LABlab(52.40, 48.61, -42.65)
CIE-LCHlch(52.40, 64.67, 318.74°)
OKLaboklab(61% 0.123 -0.1189)
OKLCHoklch(61% 0.171 316)
XYZxyz(30.7992, 20.4992, 56.3561)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DC7 #7AC75D
analogous
#755DC7 #AA5DC7 #C75DAF
triadic
#AA5DC7 #C7AA5D #5DC7AA
tetradic
#AA5DC7 #C7755D #7AC75D #5DAFC7
square
#AA5DC7 #C7755D #7AC75D #5DAFC7
split-complementary
#AA5DC7 #AFC75D #5DC775
monochromatic
#672C7E #8D3BAC #AA5DC7 #C28AD7 #DAB8E6

Accessibility & contrast

On white

4.12
#AA5DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AA5DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DC7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DC7#FFFFFF#000000##000000
##AA5DC71.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4578CB
Deuteranopia (green-blind)
#5E7FC4
Tritanopia (blue-blind)
#A96E89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5dc7;
/* rgb */ color: rgb(170, 93, 199);
/* oklch */ color: oklch(61.0% 0.171 316.0);
Tailwind
colors: {
  custom: {
    50: '#c68ed8',
    500: '#aa5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dc7;
$custom-light: #c68ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dc7",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 283.585,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61002,
    "c": 0.17107,
    "h": 316
  },
  "luminance": 0.20498
}

Semantic roles & 50–950 ramp

primary
#AA5DC7
secondary
#B6D5AA
accent
#D85075
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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