#AA5BD6#AA5BD6

#AA5BD6 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.6% C 0.190 H 311.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AA5BD6
RGBrgb(170, 91, 214)
HSLhsl(279, 60%, 60%)
HSVhsv(279, 57%, 84%)
CMYKcmyk(20.6%, 57.5%, 0%, 16.1%)
CIE-LABlab(52.82, 52.83, -50.54)
CIE-LCHlch(52.82, 73.11, 316.27°)
OKLaboklab(61.58% 0.1265 -0.1418)
OKLCHoklch(61.58% 0.19 311.7)
XYZxyz(32.4541, 20.8840, 65.9267)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BD6 #87D65B
analogous
#6D5BD6 #AA5BD6 #D65BC4
triadic
#AA5BD6 #D6AA5B #5BD6AA
tetradic
#AA5BD6 #D66D5B #87D65B #5BC4D6
square
#AA5BD6 #D66D5B #87D65B #5BC4D6
split-complementary
#AA5BD6 #C4D65B #5BD66D
monochromatic
#6B2592 #8F31C3 #AA5BD6 #C38CE2 #DDBDEE

Accessibility & contrast

On white

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

On black

5.18
#AA5BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BD6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BD6#FFFFFF#000000##000000
##AA5BD61.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#337ADA
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#A57190
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5bd6;
/* rgb */ color: rgb(170, 91, 214);
/* oklch */ color: oklch(61.6% 0.190 311.7);
Tailwind
colors: {
  custom: {
    50: '#c68de3',
    500: '#aa5bd6',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bd6;
$custom-light: #c68de3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bd6",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 278.537,
    "s": 60,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.19007,
    "h": 311.7
  },
  "luminance": 0.20883
}

Semantic roles & 50–950 ramp

primary
#AA5BD6
secondary
#C0DEAF
accent
#E3457D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #AA5BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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