#AA2EAA#AA2EAA

#AA2EAA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.209 H 328.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AA2EAA
RGBrgb(170, 46, 170)
HSLhsl(300, 57%, 42%)
HSVhsv(300, 73%, 67%)
CMYKcmyk(0%, 72.9%, 0%, 33.3%)
CIE-LABlab(43.37, 63.66, -40.05)
CIE-LCHlch(43.37, 75.21, 327.83°)
OKLaboklab(53.94% 0.1776 -0.1109)
OKLCHoklch(53.94% 0.209 328)
XYZxyz(24.8099, 13.4041, 39.3029)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EAA #2EAA2E
analogous
#6C2EAA #AA2EAA #AA2E6C
triadic
#AA2EAA #AAAA2E #2EAAAA
tetradic
#AA2EAA #AA6C2E #2EAA2E #2E6CAA
square
#AA2EAA #AA6C2E #2EAA2E #2E6CAA
split-complementary
#AA2EAA #6CAA2E #2EAA6C
monochromatic
#4A144A #7A217A #AA2EAA #CD48CD #DA78DA

Accessibility & contrast

On white

5.71
#AA2EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AA2EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EAA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EAA#FFFFFF#000000##FFFFFF
##AA2EAA1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAD
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#AF416A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2eaa;
/* rgb */ color: rgb(170, 46, 170);
/* oklch */ color: oklch(53.9% 0.209 328.0);
Tailwind
colors: {
  custom: {
    50: '#c774c4',
    500: '#aa2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #aa2eaa;
$custom-light: #c774c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2eaa",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.20941,
    "h": 328
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#AA2EAA
secondary
#71C371
accent
#E14747
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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