#AA5BD2#AA5BD2

#AA5BD2 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.3% C 0.186 H 312.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AA5BD2
RGBrgb(170, 91, 210)
HSLhsl(280, 57%, 59%)
HSVhsv(280, 57%, 82%)
CMYKcmyk(19%, 56.7%, 0%, 17.6%)
CIE-LABlab(52.60, 51.96, -48.62)
CIE-LCHlch(52.60, 71.16, 316.90°)
OKLaboklab(61.34% 0.1264 -0.1362)
OKLCHoklch(61.34% 0.186 312.9)
XYZxyz(31.9495, 20.6822, 63.2693)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BD2 #83D25B
analogous
#6F5BD2 #AA5BD2 #D25BBF
triadic
#AA5BD2 #D2AA5B #5BD2AA
tetradic
#AA5BD2 #D26F5B #83D25B #5BBFD2
square
#AA5BD2 #D26F5B #83D25B #5BBFD2
split-complementary
#AA5BD2 #BFD25B #5BD26F
monochromatic
#6A268C #8E34BC #AA5BD2 #C38BDF #DCBBEC

Accessibility & contrast

On white

4.09
#AA5BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AA5BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BD2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BD2#FFFFFF#000000##000000
##AA5BD21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3879D6
Deuteranopia (green-blind)
#557FCF
Tritanopia (blue-blind)
#A6708E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5bd2;
/* rgb */ color: rgb(170, 91, 210);
/* oklch */ color: oklch(61.3% 0.186 312.9);
Tailwind
colors: {
  custom: {
    50: '#c68de0',
    500: '#aa5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bd2;
$custom-light: #c68de0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bd2",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 279.832,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.18583,
    "h": 312.9
  },
  "luminance": 0.20681
}

Semantic roles & 50–950 ramp

primary
#AA5BD2
secondary
#BDDCAD
accent
#E0487B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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