#AA2CB1#AA2CB1

#AA2CB1 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.217 H 325.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AA2CB1
RGBrgb(170, 44, 177)
HSLhsl(297, 60%, 43%)
HSVhsv(297, 75%, 69%)
CMYKcmyk(4%, 75.1%, 0%, 30.6%)
CIE-LABlab(43.54, 65.47, -43.92)
CIE-LCHlch(43.54, 78.84, 326.15°)
OKLaboklab(54.19% 0.1793 -0.1222)
OKLCHoklch(54.19% 0.217 325.7)
XYZxyz(25.4135, 13.5234, 42.8582)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CB1 #33B12C
analogous
#672CB1 #AA2CB1 #B12C75
triadic
#AA2CB1 #B1AA2C #2CB1AA
tetradic
#AA2CB1 #B1672C #33B12C #2C75B1
square
#AA2CB1 #B1672C #33B12C #2C75B1
split-complementary
#AA2CB1 #75B12C #2CB167
monochromatic
#4C144F #7B2080 #AA2CB1 #CA49D2 #D97ADE

Accessibility & contrast

On white

5.67
#AA2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AA2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CB1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CB1#FFFFFF#000000##FFFFFF
##AA2CB11.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#4A6CAE
Tritanopia (blue-blind)
#AE436D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2cb1;
/* rgb */ color: rgb(170, 44, 177);
/* oklch */ color: oklch(54.2% 0.217 325.7);
Tailwind
colors: {
  custom: {
    50: '#c773c9',
    500: '#aa2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #aa2cb1;
$custom-light: #c773c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2cb1",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 296.842,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54191,
    "c": 0.21694,
    "h": 325.7
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#AA2CB1
secondary
#77C673
accent
#E3444D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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