#AA2EB5#AA2EB5

#AA2EB5 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.218 H 324.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AA2EB5
RGBrgb(170, 46, 181)
HSLhsl(295, 59%, 45%)
HSVhsv(295, 75%, 71%)
CMYKcmyk(6.1%, 74.6%, 0%, 29%)
CIE-LABlab(44.00, 65.52, -45.54)
CIE-LCHlch(44.00, 79.79, 325.19°)
OKLaboklab(54.59% 0.1773 -0.127)
OKLCHoklch(54.59% 0.218 324.4)
XYZxyz(25.8944, 13.8379, 45.0142)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EB5 #39B52E
analogous
#672EB5 #AA2EB5 #B52E7D
triadic
#AA2EB5 #B5AA2E #2EB5AA
tetradic
#AA2EB5 #B5672E #39B52E #2E7DB5
square
#AA2EB5 #B5672E #39B52E #2E7DB5
split-complementary
#AA2EB5 #7DB52E #2EB567
monochromatic
#4E1553 #7C2284 #AA2EB5 #C74ED2 #D77FDE

Accessibility & contrast

On white

5.57
#AA2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AA2EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EB5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EB5#FFFFFF#000000##FFFFFF
##AA2EB51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#496DB2
Tritanopia (blue-blind)
#AD4670
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2eb5;
/* rgb */ color: rgb(170, 46, 181);
/* oklch */ color: oklch(54.6% 0.218 324.4);
Tailwind
colors: {
  custom: {
    50: '#c774cc',
    500: '#aa2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #aa2eb5;
$custom-light: #c774cc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2eb5",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 295.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.21807,
    "h": 324.4
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#AA2EB5
secondary
#7EC778
accent
#E34552
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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