#AA5BD4#AA5BD4

#AA5BD4 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.5% C 0.188 H 312.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AA5BD4
RGBrgb(170, 91, 212)
HSLhsl(279, 58%, 59%)
HSVhsv(279, 57%, 83%)
CMYKcmyk(19.8%, 57.1%, 0%, 16.9%)
CIE-LABlab(52.71, 52.39, -49.58)
CIE-LCHlch(52.71, 72.13, 316.58°)
OKLaboklab(61.46% 0.1265 -0.139)
OKLCHoklch(61.46% 0.188 312.3)
XYZxyz(32.2002, 20.7825, 64.5898)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BD4 #85D45B
analogous
#6E5BD4 #AA5BD4 #D45BC1
triadic
#AA5BD4 #D4AA5B #5BD4AA
tetradic
#AA5BD4 #D46E5B #85D45B #5BC1D4
square
#AA5BD4 #D46E5B #85D45B #5BC1D4
split-complementary
#AA5BD4 #C1D45B #5BD46E
monochromatic
#6A268F #8F32C0 #AA5BD4 #C38BE1 #DCBCED

Accessibility & contrast

On white

4.07
#AA5BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AA5BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BD4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BD4#FFFFFF#000000##000000
##AA5BD41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#367AD8
Deuteranopia (green-blind)
#5480D1
Tritanopia (blue-blind)
#A6708F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5bd4;
/* rgb */ color: rgb(170, 91, 212);
/* oklch */ color: oklch(61.5% 0.188 312.3);
Tailwind
colors: {
  custom: {
    50: '#c68de2',
    500: '#aa5bd4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bd4;
$custom-light: #c68de2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bd4",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 279.174,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.18795,
    "h": 312.3
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#AA5BD4
secondary
#BEDDAE
accent
#E2467C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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