#AA5BD8#AA5BD8

#AA5BD8 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.7% C 0.192 H 311.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AA5BD8
RGBrgb(170, 91, 216)
HSLhsl(278, 62%, 60%)
HSVhsv(278, 58%, 85%)
CMYKcmyk(21.3%, 57.9%, 0%, 15.3%)
CIE-LABlab(52.94, 53.26, -51.50)
CIE-LCHlch(52.94, 74.08, 315.96°)
OKLaboklab(61.69% 0.1266 -0.1446)
OKLCHoklch(61.69% 0.192 311.2)
XYZxyz(32.7110, 20.9868, 67.2801)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BD8 #89D85B
analogous
#6B5BD8 #AA5BD8 #D85BC7
triadic
#AA5BD8 #D8AA5B #5BD8AA
tetradic
#AA5BD8 #D86B5B #89D85B #5BC7D8
square
#AA5BD8 #D86B5B #89D85B #5BC7D8
split-complementary
#AA5BD8 #C7D85B #5BD86B
monochromatic
#6B2395 #8F2FC7 #AA5BD8 #C48CE4 #DDBEF0

Accessibility & contrast

On white

4.04
#AA5BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AA5BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BD8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BD8#FFFFFF#000000##000000
##AA5BD81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#317BDC
Deuteranopia (green-blind)
#5080D5
Tritanopia (blue-blind)
#A57291
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5bd8;
/* rgb */ color: rgb(170, 91, 216);
/* oklch */ color: oklch(61.7% 0.192 311.2);
Tailwind
colors: {
  custom: {
    50: '#c68de5',
    500: '#aa5bd8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bd8;
$custom-light: #c68de5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bd8",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 277.92,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61694,
    "c": 0.1922,
    "h": 311.2
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#AA5BD8
secondary
#C1DFAF
accent
#C91C5C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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