#AA2EB7#AA2EB7

#AA2EB7 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.220 H 323.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AA2EB7
RGBrgb(170, 46, 183)
HSLhsl(294, 60%, 45%)
HSVhsv(294, 75%, 72%)
CMYKcmyk(7.1%, 74.9%, 0%, 28.2%)
CIE-LABlab(44.12, 65.86, -46.53)
CIE-LCHlch(44.12, 80.64, 324.76°)
OKLaboklab(54.72% 0.1772 -0.1298)
OKLCHoklch(54.72% 0.22 323.8)
XYZxyz(26.1010, 13.9206, 46.1027)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EB7 #3BB72E
analogous
#662EB7 #AA2EB7 #B72E7F
triadic
#AA2EB7 #B7AA2E #2EB7AA
tetradic
#AA2EB7 #B7662E #3BB72E #2E7FB7
square
#AA2EB7 #B7662E #3BB72E #2E7FB7
split-complementary
#AA2EB7 #7FB72E #2EB766
monochromatic
#4F1555 #7D2286 #AA2EB7 #C64FD3 #D680DF

Accessibility & contrast

On white

5.55
#AA2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AA2EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EB7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EB7#FFFFFF#000000##FFFFFF
##AA2EB71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#476DB4
Tritanopia (blue-blind)
#AD4771
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2eb7;
/* rgb */ color: rgb(170, 46, 183);
/* oklch */ color: oklch(54.7% 0.220 323.8);
Tailwind
colors: {
  custom: {
    50: '#c774cd',
    500: '#aa2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #aa2eb7;
$custom-light: #c774cd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2eb7",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 294.307,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.21966,
    "h": 323.8
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#AA2EB7
secondary
#80C879
accent
#E34554
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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