#AA2EB4#AA2EB4

#AA2EB4 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.217 H 324.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AA2EB4
RGBrgb(170, 46, 180)
HSLhsl(296, 59%, 44%)
HSVhsv(296, 74%, 71%)
CMYKcmyk(5.6%, 74.4%, 0%, 29.4%)
CIE-LABlab(43.94, 65.34, -45.05)
CIE-LCHlch(43.94, 79.37, 325.42°)
OKLaboklab(54.53% 0.1774 -0.1255)
OKLCHoklch(54.53% 0.217 324.7)
XYZxyz(25.7921, 13.7970, 44.4757)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EB4 #38B42E
analogous
#672EB4 #AA2EB4 #B42E7B
triadic
#AA2EB4 #B4AA2E #2EB4AA
tetradic
#AA2EB4 #B4672E #38B42E #2E7BB4
square
#AA2EB4 #B4672E #38B42E #2E7BB4
split-complementary
#AA2EB4 #7BB42E #2EB467
monochromatic
#4E1553 #7C2283 #AA2EB4 #C84ED2 #D77EDE

Accessibility & contrast

On white

5.59
#AA2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AA2EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EB4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EB4#FFFFFF#000000##FFFFFF
##AA2EB41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#AE466F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2eb4;
/* rgb */ color: rgb(170, 46, 180);
/* oklch */ color: oklch(54.5% 0.217 324.7);
Tailwind
colors: {
  custom: {
    50: '#c774cb',
    500: '#aa2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2eb4;
$custom-light: #c774cb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2eb4",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 295.522,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.21727,
    "h": 324.7
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#AA2EB4
secondary
#7DC777
accent
#E24551
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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