#AA5BD9#AA5BD9

#AA5BD9 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.8% C 0.193 H 310.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AA5BD9
RGBrgb(170, 91, 217)
HSLhsl(278, 62%, 60%)
HSVhsv(278, 58%, 85%)
CMYKcmyk(21.7%, 58.1%, 0%, 14.9%)
CIE-LABlab(52.99, 53.48, -51.97)
CIE-LCHlch(52.99, 74.57, 315.82°)
OKLaboklab(61.75% 0.1266 -0.146)
OKLCHoklch(61.75% 0.193 310.9)
XYZxyz(32.8407, 21.0387, 67.9630)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BD9 #8AD95B
analogous
#6B5BD9 #AA5BD9 #D95BC9
triadic
#AA5BD9 #D9AA5B #5BD9AA
tetradic
#AA5BD9 #D96B5B #8AD95B #5BC9D9
square
#AA5BD9 #D96B5B #8AD95B #5BC9D9
split-complementary
#AA5BD9 #C9D95B #5BD96B
monochromatic
#6C2397 #8F2EC8 #AA5BD9 #C48DE5 #DEBEF0

Accessibility & contrast

On white

4.03
#AA5BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AA5BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BD9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BD9#FFFFFF#000000##000000
##AA5BD91.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#307BDD
Deuteranopia (green-blind)
#5080D6
Tritanopia (blue-blind)
#A47291
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5bd9;
/* rgb */ color: rgb(170, 91, 217);
/* oklch */ color: oklch(61.8% 0.193 310.9);
Tailwind
colors: {
  custom: {
    50: '#c68de5',
    500: '#aa5bd9',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bd9;
$custom-light: #c68de5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bd9",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 277.619,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61754,
    "c": 0.19327,
    "h": 310.9
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#AA5BD9
secondary
#C2E0B0
accent
#CA1B5D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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