#AA5BC8#AA5BC8

#AA5BC8 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.8% C 0.175 H 315.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AA5BC8
RGBrgb(170, 91, 200)
HSLhsl(283, 50%, 57%)
HSVhsv(283, 55%, 78%)
CMYKcmyk(15%, 54.5%, 0%, 21.6%)
CIE-LABlab(52.06, 49.85, -43.76)
CIE-LCHlch(52.06, 66.33, 318.72°)
OKLaboklab(60.77% 0.1258 -0.1221)
OKLCHoklch(60.77% 0.175 315.9)
XYZxyz(30.7424, 20.1993, 56.9118)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BC8 #79C85B
analogous
#735BC8 #AA5BC8 #C85BB0
triadic
#AA5BC8 #C8AA5B #5BC8AA
tetradic
#AA5BC8 #C8735B #79C85B #5BB0C8
square
#AA5BC8 #C8735B #79C85B #5BB0C8
split-complementary
#AA5BC8 #B0C85B #5BC873
monochromatic
#672A7E #8D3AAC #AA5BC8 #C289D7 #DAB7E7

Accessibility & contrast

On white

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

On black

5.04
#AA5BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BC8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BC8#FFFFFF#000000##000000
##AA5BC81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CC
Deuteranopia (green-blind)
#5C7EC5
Tritanopia (blue-blind)
#A86C89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5bc8;
/* rgb */ color: rgb(170, 91, 200);
/* oklch */ color: oklch(60.8% 0.175 315.9);
Tailwind
colors: {
  custom: {
    50: '#c68dd9',
    500: '#aa5bc8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bc8;
$custom-light: #c68dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bc8",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 283.486,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.17528,
    "h": 315.9
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#AA5BC8
secondary
#B5D6A9
accent
#D94F75
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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