#AA2EB1#AA2EB1

#AA2EB1 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.215 H 325.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AA2EB1
RGBrgb(170, 46, 177)
HSLhsl(297, 59%, 44%)
HSVhsv(297, 74%, 69%)
CMYKcmyk(4%, 74%, 0%, 30.6%)
CIE-LABlab(43.76, 64.83, -43.56)
CIE-LCHlch(43.76, 78.11, 326.10°)
OKLaboklab(54.35% 0.1775 -0.1212)
OKLCHoklch(54.35% 0.215 325.7)
XYZxyz(25.4898, 13.6761, 42.8836)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EB1 #35B12E
analogous
#682EB1 #AA2EB1 #B12E76
triadic
#AA2EB1 #B1AA2E #2EB1AA
tetradic
#AA2EB1 #B1682E #35B12E #2E76B1
square
#AA2EB1 #B1682E #35B12E #2E76B1
split-complementary
#AA2EB1 #76B12E #2EB168
monochromatic
#4D1550 #7B2180 #AA2EB1 #C94CD0 #D87CDD

Accessibility & contrast

On white

5.62
#AA2EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AA2EB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EB1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EB1#FFFFFF#000000##FFFFFF
##AA2EB11.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#4B6DAE
Tritanopia (blue-blind)
#AE456D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2eb1;
/* rgb */ color: rgb(170, 46, 177);
/* oklch */ color: oklch(54.4% 0.215 325.7);
Tailwind
colors: {
  custom: {
    50: '#c774c9',
    500: '#aa2eb1',
    950: '#000000',
  },
}
SCSS
$custom: #aa2eb1;
$custom-light: #c774c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2eb1",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 296.794,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.21489,
    "h": 325.7
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#AA2EB1
secondary
#7AC675
accent
#E2464E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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