#AA5BC7#AA5BC7

#AA5BC7 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.7% C 0.174 H 316.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AA5BC7
RGBrgb(170, 91, 199)
HSLhsl(284, 49%, 57%)
HSVhsv(284, 54%, 78%)
CMYKcmyk(14.6%, 54.3%, 0%, 22%)
CIE-LABlab(52.01, 49.64, -43.27)
CIE-LCHlch(52.01, 65.85, 318.92°)
OKLaboklab(60.72% 0.1257 -0.1206)
OKLCHoklch(60.72% 0.174 316.2)
XYZxyz(30.6259, 20.1527, 56.2984)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BC7 #78C75B
analogous
#745BC7 #AA5BC7 #C75BAE
triadic
#AA5BC7 #C7AA5B #5BC7AA
tetradic
#AA5BC7 #C7745B #78C75B #5BAEC7
square
#AA5BC7 #C7745B #78C75B #5BAEC7
split-complementary
#AA5BC7 #AEC75B #5BC774
monochromatic
#672B7D #8C3AAB #AA5BC7 #C289D7 #D9B6E6

Accessibility & contrast

On white

4.17
#AA5BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AA5BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BC7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BC7#FFFFFF#000000##000000
##AA5BC71.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#A96C88
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5bc7;
/* rgb */ color: rgb(170, 91, 199);
/* oklch */ color: oklch(60.7% 0.174 316.2);
Tailwind
colors: {
  custom: {
    50: '#c68dd8',
    500: '#aa5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bc7;
$custom-light: #c68dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bc7",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 283.889,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60717,
    "c": 0.17423,
    "h": 316.2
  },
  "luminance": 0.20152
}

Semantic roles & 50–950 ramp

primary
#AA5BC7
secondary
#B5D5A9
accent
#D94F74
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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