#AA4BA2#AA4BA2

#AA4BA2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.6% C 0.164 H 330.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AA4BA2
RGBrgb(170, 75, 162)
HSLhsl(305, 39%, 48%)
HSVhsv(305, 56%, 67%)
CMYKcmyk(0%, 55.9%, 4.7%, 33.3%)
CIE-LABlab(47.22, 50.46, -29.23)
CIE-LCHlch(47.22, 58.32, 329.92°)
OKLaboklab(56.6% 0.1433 -0.08)
OKLCHoklch(56.6% 0.164 330.8)
XYZxyz(25.6151, 16.1885, 35.9509)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BA2 #4BAA53
analogous
#834BAA #AA4BA2 #AA4B72
triadic
#AA4BA2 #A2AA4B #4BA2AA
tetradic
#AA4BA2 #AA834B #4BAA53 #4B72AA
square
#AA4BA2 #AA834B #4BAA53 #4B72AA
split-complementary
#AA4BA2 #72AA4B #4BAA83
monochromatic
#552651 #80387A #AA4BA2 #C172BA #D39CCF

Accessibility & contrast

On white

4.96
#AA4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AA4BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4BA2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BA2#FFFFFF#000000##FFFFFF
##AA4BA21.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#63759F
Tritanopia (blue-blind)
#B0536F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa4ba2;
/* rgb */ color: rgb(170, 75, 162);
/* oklch */ color: oklch(56.6% 0.164 330.8);
Tailwind
colors: {
  custom: {
    50: '#c682be',
    500: '#aa4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ba2;
$custom-light: #c682be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ba2",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 305.053,
    "s": 38.776,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.16407,
    "h": 330.8
  },
  "luminance": 0.16187
}

Semantic roles & 50–950 ramp

primary
#AA4BA2
secondary
#91C095
accent
#CF6359
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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