#AA2AAF#AA2AAF

#AA2AAF is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.217 H 326.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AA2AAF
RGBrgb(170, 42, 175)
HSLhsl(298, 61%, 43%)
HSVhsv(298, 76%, 69%)
CMYKcmyk(2.9%, 76%, 0%, 31.4%)
CIE-LABlab(43.21, 65.75, -43.26)
CIE-LCHlch(43.21, 78.71, 326.66°)
OKLaboklab(53.92% 0.1811 -0.1203)
OKLCHoklch(53.92% 0.217 326.4)
XYZxyz(25.1429, 13.2989, 41.7918)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AAF #2FAF2A
analogous
#672AAF #AA2AAF #AF2A72
triadic
#AA2AAF #AFAA2A #2AAFAA
tetradic
#AA2AAF #AF672A #2FAF2A #2A72AF
square
#AA2AAF #AF672A #2FAF2A #2A72AF
split-complementary
#AA2AAF #72AF2A #2AAF67
monochromatic
#4A124C #7A1E7E #AA2AAF #CD44D2 #DA75DE

Accessibility & contrast

On white

5.74
#AA2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AA2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AAF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AAF#FFFFFF#000000##FFFFFF
##AA2AAF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4B6BAC
Tritanopia (blue-blind)
#AF416B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2aaf;
/* rgb */ color: rgb(170, 42, 175);
/* oklch */ color: oklch(53.9% 0.217 326.4);
Tailwind
colors: {
  custom: {
    50: '#c772c7',
    500: '#aa2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #aa2aaf;
$custom-light: #c772c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2aaf",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 297.744,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.21736,
    "h": 326.4
  },
  "luminance": 0.13297
}

Semantic roles & 50–950 ramp

primary
#AA2AAF
secondary
#72C66F
accent
#E44349
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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