#AA4CB1#AA4CB1

#AA4CB1 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.5% C 0.176 H 324.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AA4CB1
RGBrgb(170, 76, 177)
HSLhsl(296, 40%, 50%)
HSVhsv(296, 57%, 69%)
CMYKcmyk(4%, 57.1%, 0%, 30.6%)
CIE-LABlab(48.12, 52.69, -36.66)
CIE-LCHlch(48.12, 64.19, 325.17°)
OKLaboklab(57.5% 0.1438 -0.1013)
OKLCHoklch(57.5% 0.176 324.8)
XYZxyz(27.0972, 16.8907, 43.4194)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4CB1 #53B14C
analogous
#784CB1 #AA4CB1 #B14C85
triadic
#AA4CB1 #B1AA4C #4CB1AA
tetradic
#AA4CB1 #B1784C #53B14C #4C85B1
square
#AA4CB1 #B1784C #53B14C #4C85B1
split-complementary
#AA4CB1 #85B14C #4CB178
monochromatic
#58275B #813A86 #AA4CB1 #BF76C4 #D3A1D7

Accessibility & contrast

On white

4.80
#AA4CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AA4CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4CB1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4CB1#FFFFFF#000000##FFFFFF
##AA4CB11.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB4
Deuteranopia (green-blind)
#5D76AE
Tritanopia (blue-blind)
#AD5977
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4cb1;
/* rgb */ color: rgb(170, 76, 177);
/* oklch */ color: oklch(57.5% 0.176 324.8);
Tailwind
colors: {
  custom: {
    50: '#c683c9',
    500: '#aa4cb1',
    950: '#000000',
  },
}
SCSS
$custom: #aa4cb1;
$custom-light: #c683c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4cb1",
  "rgb": {
    "r": 170,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 295.842,
    "s": 39.921,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.17589,
    "h": 324.8
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#AA4CB1
secondary
#99C395
accent
#D05860
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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