#AA5BCA#AA5BCA

#AA5BCA is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.9% C 0.177 H 315.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AA5BCA
RGBrgb(170, 91, 202)
HSLhsl(283, 51%, 57%)
HSVhsv(283, 55%, 79%)
CMYKcmyk(15.8%, 55%, 0%, 20.8%)
CIE-LABlab(52.17, 50.27, -44.74)
CIE-LCHlch(52.17, 67.29, 318.33°)
OKLaboklab(60.88% 0.126 -0.1249)
OKLCHoklch(60.88% 0.177 315.2)
XYZxyz(30.9776, 20.2934, 58.1509)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BCA #7BCA5B
analogous
#735BCA #AA5BCA #CA5BB2
triadic
#AA5BCA #CAAA5B #5BCAAA
tetradic
#AA5BCA #CA735B #7BCA5B #5BB2CA
square
#AA5BCA #CA735B #7BCA5B #5BB2CA
split-complementary
#AA5BCA #B2CA5B #5BCA73
monochromatic
#682A81 #8D39AF #AA5BCA #C289D9 #DAB8E8

Accessibility & contrast

On white

4.15
#AA5BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AA5BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BCA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BCA#FFFFFF#000000##000000
##AA5BCA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CE
Deuteranopia (green-blind)
#5A7FC7
Tritanopia (blue-blind)
#A86D8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa5bca;
/* rgb */ color: rgb(170, 91, 202);
/* oklch */ color: oklch(60.9% 0.177 315.2);
Tailwind
colors: {
  custom: {
    50: '#c68dda',
    500: '#aa5bca',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bca;
$custom-light: #c68dda;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bca",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 282.703,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60884,
    "c": 0.17739,
    "h": 315.2
  },
  "luminance": 0.20292
}

Semantic roles & 50–950 ramp

primary
#AA5BCA
secondary
#B7D7AA
accent
#DB4D76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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