#AA2AA2#AA2AA2

#AA2AA2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.208 H 330.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AA2AA2
RGBrgb(170, 42, 162)
HSLhsl(304, 60%, 42%)
HSVhsv(304, 75%, 67%)
CMYKcmyk(0%, 75.3%, 4.7%, 33.3%)
CIE-LABlab(42.48, 63.64, -36.68)
CIE-LCHlch(42.48, 73.46, 330.04°)
OKLaboklab(53.16% 0.1812 -0.1012)
OKLCHoklch(53.16% 0.208 330.8)
XYZxyz(23.9271, 12.8125, 35.3883)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AA2 #2AAA32
analogous
#722AAA #AA2AA2 #AA2A62
triadic
#AA2AA2 #A2AA2A #2AA2AA
tetradic
#AA2AA2 #AA722A #2AAA32 #2A62AA
square
#AA2AA2 #AA722A #2AAA32 #2A62AA
split-complementary
#AA2AA2 #62AA2A #2AAA72
monochromatic
#481244 #791E73 #AA2AA2 #D041C7 #DC72D6

Accessibility & contrast

On white

5.90
#AA2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AA2AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AA2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AA2#FFFFFF#000000##FFFFFF
##AA2AA21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#B13B64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2aa2;
/* rgb */ color: rgb(170, 42, 162);
/* oklch */ color: oklch(53.2% 0.208 330.8);
Tailwind
colors: {
  custom: {
    50: '#c772be',
    500: '#aa2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #aa2aa2;
$custom-light: #c772be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2aa2",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 303.75,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.20752,
    "h": 330.8
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#AA2AA2
secondary
#6CC372
accent
#E44E44
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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