#AA5DCE#AA5DCE

#AA5DCE is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.4% C 0.179 H 313.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AA5DCE
RGBrgb(170, 93, 206)
HSLhsl(281, 54%, 59%)
HSVhsv(281, 55%, 81%)
CMYKcmyk(17.5%, 54.9%, 0%, 19.2%)
CIE-LABlab(52.76, 50.09, -46.08)
CIE-LCHlch(52.76, 68.06, 317.39°)
OKLaboklab(61.39% 0.1236 -0.1288)
OKLCHoklch(61.39% 0.179 313.8)
XYZxyz(31.6306, 20.8318, 60.7353)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DCE #81CE5D
analogous
#715DCE #AA5DCE #CE5DB9
triadic
#AA5DCE #CEAA5D #5DCEAA
tetradic
#AA5DCE #CE715D #81CE5D #5DB9CE
square
#AA5DCE #CE715D #81CE5D #5DB9CE
split-complementary
#AA5DCE #B9CE5D #5DCE71
monochromatic
#692988 #8E37B7 #AA5DCE #C38CDC #DBBBEA

Accessibility & contrast

On white

4.06
#AA5DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AA5DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DCE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DCE#FFFFFF#000000##000000
##AA5DCE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD2
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#A7708D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5dce;
/* rgb */ color: rgb(170, 93, 206);
/* oklch */ color: oklch(61.4% 0.179 313.8);
Tailwind
colors: {
  custom: {
    50: '#c68edd',
    500: '#aa5dce',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dce;
$custom-light: #c68edd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dce",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 280.885,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61392,
    "c": 0.17851,
    "h": 313.8
  },
  "luminance": 0.20831
}

Semantic roles & 50–950 ramp

primary
#AA5DCE
secondary
#BBDAAD
accent
#DD4B79
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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