#AA4BB1#AA4BB1

#AA4BB1 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.177 H 324.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AA4BB1
RGBrgb(170, 75, 177)
HSLhsl(296, 40%, 49%)
HSVhsv(296, 58%, 69%)
CMYKcmyk(4%, 57.6%, 0%, 30.6%)
CIE-LABlab(47.95, 53.16, -36.93)
CIE-LCHlch(47.95, 64.73, 325.21°)
OKLaboklab(57.37% 0.1451 -0.1021)
OKLCHoklch(57.37% 0.177 324.9)
XYZxyz(27.0288, 16.7540, 43.3966)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BB1 #52B14B
analogous
#774BB1 #AA4BB1 #B14B85
triadic
#AA4BB1 #B1AA4B #4BB1AA
tetradic
#AA4BB1 #B1774B #52B14B #4B85B1
square
#AA4BB1 #B1774B #52B14B #4B85B1
split-complementary
#AA4BB1 #85B14B #4BB177
monochromatic
#57275B #813986 #AA4BB1 #BF75C4 #D3A0D7

Accessibility & contrast

On white

4.83
#AA4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AA4BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4BB1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BB1#FFFFFF#000000##FFFFFF
##AA4BB11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#AE5977
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4bb1;
/* rgb */ color: rgb(170, 75, 177);
/* oklch */ color: oklch(57.4% 0.177 324.9);
Tailwind
colors: {
  custom: {
    50: '#c682c9',
    500: '#aa4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #aa4bb1;
$custom-light: #c682c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4bb1",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 295.882,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.17741,
    "h": 324.9
  },
  "luminance": 0.16753
}

Semantic roles & 50–950 ramp

primary
#AA4BB1
secondary
#98C394
accent
#D05760
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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