#AA5BD3#AA5BD3

#AA5BD3 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.4% C 0.187 H 312.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AA5BD3
RGBrgb(170, 91, 211)
HSLhsl(280, 58%, 59%)
HSVhsv(280, 57%, 83%)
CMYKcmyk(19.4%, 56.9%, 0%, 17.3%)
CIE-LABlab(52.66, 52.18, -49.10)
CIE-LCHlch(52.66, 71.65, 316.74°)
OKLaboklab(61.4% 0.1264 -0.1376)
OKLCHoklch(61.4% 0.187 312.6)
XYZxyz(32.0745, 20.7322, 63.9275)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BD3 #84D35B
analogous
#6E5BD3 #AA5BD3 #D35BC0
triadic
#AA5BD3 #D3AA5B #5BD3AA
tetradic
#AA5BD3 #D36E5B #84D35B #5BC0D3
square
#AA5BD3 #D36E5B #84D35B #5BC0D3
split-complementary
#AA5BD3 #C0D35B #5BD36E
monochromatic
#6A268E #8E33BE #AA5BD3 #C38BE0 #DCBCED

Accessibility & contrast

On white

4.08
#AA5BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AA5BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BD3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BD3#FFFFFF#000000##000000
##AA5BD31.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#377AD7
Deuteranopia (green-blind)
#547FD0
Tritanopia (blue-blind)
#A6708E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5bd3;
/* rgb */ color: rgb(170, 91, 211);
/* oklch */ color: oklch(61.4% 0.187 312.6);
Tailwind
colors: {
  custom: {
    50: '#c68de1',
    500: '#aa5bd3',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bd3;
$custom-light: #c68de1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bd3",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 279.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61399,
    "c": 0.18689,
    "h": 312.6
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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