#AA4CB8#AA4CB8

#AA4CB8 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.182 H 322.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA4CB8
RGBrgb(170, 76, 184)
HSLhsl(292, 43%, 51%)
HSVhsv(292, 59%, 72%)
CMYKcmyk(7.6%, 58.7%, 0%, 27.8%)
CIE-LABlab(48.48, 54.01, -40.18)
CIE-LCHlch(48.48, 67.31, 323.36°)
OKLaboklab(57.88% 0.1443 -0.1115)
OKLCHoklch(57.88% 0.182 322.3)
XYZxyz(27.8128, 17.1770, 47.1886)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4CB8 #5AB84C
analogous
#744CB8 #AA4CB8 #B84C90
triadic
#AA4CB8 #B8AA4C #4CB8AA
tetradic
#AA4CB8 #B8744C #5AB84C #4C90B8
square
#AA4CB8 #B8744C #5AB84C #4C90B8
split-complementary
#AA4CB8 #90B84C #4CB874
monochromatic
#5B2763 #83388E #AA4CB8 #BF78C9 #D4A4DB

Accessibility & contrast

On white

4.73
#AA4CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AA4CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4CB8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4CB8#FFFFFF#000000##FFFFFF
##AA4CB81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBB
Deuteranopia (green-blind)
#5977B5
Tritanopia (blue-blind)
#AC5C7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4cb8;
/* rgb */ color: rgb(170, 76, 184);
/* oklch */ color: oklch(57.9% 0.182 322.3);
Tailwind
colors: {
  custom: {
    50: '#c683ce',
    500: '#aa4cb8',
    950: '#000000',
  },
}
SCSS
$custom: #aa4cb8;
$custom-light: #c683ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4cb8",
  "rgb": {
    "r": 170,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 292.222,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57879,
    "c": 0.18241,
    "h": 322.3
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#AA4CB8
secondary
#9EC898
accent
#D35565
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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