#AA4BB2#AA4BB2

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

Color values

HEX#AA4BB2
RGBrgb(170, 75, 178)
HSLhsl(295, 41%, 50%)
HSVhsv(295, 58%, 70%)
CMYKcmyk(4.5%, 57.9%, 0%, 30.2%)
CIE-LABlab(48.00, 53.35, -37.43)
CIE-LCHlch(48.00, 65.17, 324.94°)
OKLaboklab(57.43% 0.1452 -0.1036)
OKLCHoklch(57.43% 0.178 324.5)
XYZxyz(27.1288, 16.7940, 43.9235)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BB2 #53B24B
analogous
#774BB2 #AA4BB2 #B24B87
triadic
#AA4BB2 #B2AA4B #4BB2AA
tetradic
#AA4BB2 #B2774B #53B24B #4B87B2
square
#AA4BB2 #B2774B #53B24B #4B87B2
split-complementary
#AA4BB2 #87B24B #4BB277
monochromatic
#58275C #813987 #AA4BB2 #BF75C5 #D3A0D7

Accessibility & contrast

On white

4.82
#AA4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AA4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4BB2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BB2#FFFFFF#000000##FFFFFF
##AA4BB21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa4bb2;
/* rgb */ color: rgb(170, 75, 178);
/* oklch */ color: oklch(57.4% 0.178 324.5);
Tailwind
colors: {
  custom: {
    50: '#c682c9',
    500: '#aa4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4bb2;
$custom-light: #c682c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4bb2",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 295.34,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57426,
    "c": 0.17832,
    "h": 324.5
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#AA4BB2
secondary
#99C495
accent
#D15761
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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