#AA5BD7#AA5BD7

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

Color values

HEX#AA5BD7
RGBrgb(170, 91, 215)
HSLhsl(278, 61%, 60%)
HSVhsv(278, 58%, 84%)
CMYKcmyk(20.9%, 57.7%, 0%, 15.7%)
CIE-LABlab(52.88, 53.04, -51.02)
CIE-LCHlch(52.88, 73.60, 316.11°)
OKLaboklab(61.64% 0.1266 -0.1432)
OKLCHoklch(61.64% 0.191 311.5)
XYZxyz(32.5822, 20.9352, 66.6013)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BD7 #88D75B
analogous
#6C5BD7 #AA5BD7 #D75BC6
triadic
#AA5BD7 #D7AA5B #5BD7AA
tetradic
#AA5BD7 #D76C5B #88D75B #5BC6D7
square
#AA5BD7 #D76C5B #88D75B #5BC6D7
split-complementary
#AA5BD7 #C6D75B #5BD76C
monochromatic
#6B2494 #8F30C5 #AA5BD7 #C48CE3 #DDBDEF

Accessibility & contrast

On white

4.05
#AA5BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AA5BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BD7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BD7#FFFFFF#000000##000000
##AA5BD71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#327ADB
Deuteranopia (green-blind)
#5180D4
Tritanopia (blue-blind)
#A57190
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5bd7;
/* rgb */ color: rgb(170, 91, 215);
/* oklch */ color: oklch(61.6% 0.191 311.5);
Tailwind
colors: {
  custom: {
    50: '#c68de4',
    500: '#aa5bd7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bd7;
$custom-light: #c68de4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bd7",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 278.226,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.61635,
    "c": 0.19114,
    "h": 311.5
  },
  "luminance": 0.20935
}

Semantic roles & 50–950 ramp

primary
#AA5BD7
secondary
#C0DFAF
accent
#E4447E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #AA5BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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