#AA5BD5#AA5BD5

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

Color values

HEX#AA5BD5
RGBrgb(170, 91, 213)
HSLhsl(279, 59%, 60%)
HSVhsv(279, 57%, 84%)
CMYKcmyk(20.2%, 57.3%, 0%, 16.5%)
CIE-LABlab(52.77, 52.61, -50.06)
CIE-LCHlch(52.77, 72.62, 316.42°)
OKLaboklab(61.52% 0.1265 -0.1404)
OKLCHoklch(61.52% 0.189 312)
XYZxyz(32.3267, 20.8331, 65.2562)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BD5 #86D55B
analogous
#6D5BD5 #AA5BD5 #D55BC3
triadic
#AA5BD5 #D5AA5B #5BD5AA
tetradic
#AA5BD5 #D56D5B #86D55B #5BC3D5
square
#AA5BD5 #D56D5B #86D55B #5BC3D5
split-complementary
#AA5BD5 #C3D55B #5BD56D
monochromatic
#6B2591 #8F32C1 #AA5BD5 #C38CE1 #DDBCEE

Accessibility & contrast

On white

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

On black

5.17
#AA5BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BD5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BD5#FFFFFF#000000##000000
##AA5BD51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357AD9
Deuteranopia (green-blind)
#5380D2
Tritanopia (blue-blind)
#A5718F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5bd5;
/* rgb */ color: rgb(170, 91, 213);
/* oklch */ color: oklch(61.5% 0.189 312.0);
Tailwind
colors: {
  custom: {
    50: '#c68de2',
    500: '#aa5bd5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bd5;
$custom-light: #c68de2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bd5",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 278.852,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61517,
    "c": 0.18901,
    "h": 312
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

primary
#AA5BD5
secondary
#BFDEAE
accent
#E2457D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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