#AA5BCB#AA5BCB

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

Color values

HEX#AA5BCB
RGBrgb(170, 91, 203)
HSLhsl(282, 52%, 58%)
HSVhsv(282, 55%, 80%)
CMYKcmyk(16.3%, 55.2%, 0%, 20.4%)
CIE-LABlab(52.22, 50.48, -45.22)
CIE-LCHlch(52.22, 67.77, 318.14°)
OKLaboklab(60.94% 0.126 -0.1263)
OKLCHoklch(60.94% 0.178 314.9)
XYZxyz(31.0964, 20.3410, 58.7765)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BCB #7CCB5B
analogous
#725BCB #AA5BCB #CB5BB4
triadic
#AA5BCB #CBAA5B #5BCBAA
tetradic
#AA5BCB #CB725B #7CCB5B #5BB4CB
square
#AA5BCB #CB725B #7CCB5B #5BB4CB
split-complementary
#AA5BCB #B4CB5B #5BCB72
monochromatic
#682982 #8D38B1 #AA5BCB #C289DA #DAB8E8

Accessibility & contrast

On white

4.14
#AA5BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AA5BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BCB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BCB#FFFFFF#000000##000000
##AA5BCB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CF
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#A86D8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5bcb;
/* rgb */ color: rgb(170, 91, 203);
/* oklch */ color: oklch(60.9% 0.178 314.9);
Tailwind
colors: {
  custom: {
    50: '#c68ddb',
    500: '#aa5bcb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bcb;
$custom-light: #c68ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bcb",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 282.321,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6094,
    "c": 0.17844,
    "h": 314.9
  },
  "luminance": 0.2034
}

Semantic roles & 50–950 ramp

primary
#AA5BCB
secondary
#B8D7AA
accent
#DB4C77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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