#AA2EB2#AA2EB2

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

Color values

HEX#AA2EB2
RGBrgb(170, 46, 178)
HSLhsl(296, 59%, 44%)
HSVhsv(296, 74%, 70%)
CMYKcmyk(4.5%, 74.2%, 0%, 30.2%)
CIE-LABlab(43.82, 65.00, -44.06)
CIE-LCHlch(43.82, 78.53, 325.87°)
OKLaboklab(54.41% 0.1774 -0.1226)
OKLCHoklch(54.41% 0.216 325.4)
XYZxyz(25.5899, 13.7161, 43.4105)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EB2 #36B22E
analogous
#682EB2 #AA2EB2 #B22E78
triadic
#AA2EB2 #B2AA2E #2EB2AA
tetradic
#AA2EB2 #B2682E #36B22E #2E78B2
square
#AA2EB2 #B2682E #36B22E #2E78B2
split-complementary
#AA2EB2 #78B22E #2EB268
monochromatic
#4D1551 #7C2181 #AA2EB2 #C94CD1 #D87DDD

Accessibility & contrast

On white

5.61
#AA2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AA2EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EB2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EB2#FFFFFF#000000##FFFFFF
##AA2EB21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#AE456E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2eb2;
/* rgb */ color: rgb(170, 46, 178);
/* oklch */ color: oklch(54.4% 0.216 325.4);
Tailwind
colors: {
  custom: {
    50: '#c774c9',
    500: '#aa2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #aa2eb2;
$custom-light: #c774c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2eb2",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 296.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.21569,
    "h": 325.4
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#AA2EB2
secondary
#7BC676
accent
#E2464F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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