#AA5BCD#AA5BCD

#AA5BCD is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.1% C 0.181 H 314.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AA5BCD
RGBrgb(170, 91, 205)
HSLhsl(282, 53%, 58%)
HSVhsv(282, 56%, 80%)
CMYKcmyk(17.1%, 55.6%, 0%, 19.6%)
CIE-LABlab(52.33, 50.90, -46.20)
CIE-LCHlch(52.33, 68.74, 317.77°)
OKLaboklab(61.05% 0.1261 -0.1292)
OKLCHoklch(61.05% 0.181 314.3)
XYZxyz(31.3363, 20.4369, 60.0398)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BCD #7ECD5B
analogous
#715BCD #AA5BCD #CD5BB7
triadic
#AA5BCD #CDAA5B #5BCDAA
tetradic
#AA5BCD #CD715B #7ECD5B #5BB7CD
square
#AA5BCD #CD715B #7ECD5B #5BB7CD
split-complementary
#AA5BCD #B7CD5B #5BCD71
monochromatic
#692985 #8E37B4 #AA5BCD #C28ADB #DBB9EA

Accessibility & contrast

On white

4.13
#AA5BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AA5BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BCD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BCD#FFFFFF#000000##000000
##AA5BCD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#A76E8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5bcd;
/* rgb */ color: rgb(170, 91, 205);
/* oklch */ color: oklch(61.1% 0.181 314.3);
Tailwind
colors: {
  custom: {
    50: '#c68ddd',
    500: '#aa5bcd',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bcd;
$custom-light: #c68ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bcd",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 281.579,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61053,
    "c": 0.18054,
    "h": 314.3
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#AA5BCD
secondary
#B9D9AB
accent
#DD4B78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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