#AA2DB7#AA2DB7

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

Color values

HEX#AA2DB7
RGBrgb(170, 45, 183)
HSLhsl(294, 61%, 45%)
HSVhsv(294, 75%, 72%)
CMYKcmyk(7.1%, 75.4%, 0%, 28.2%)
CIE-LABlab(44.01, 66.18, -46.71)
CIE-LCHlch(44.01, 81.00, 324.79°)
OKLaboklab(54.64% 0.1781 -0.1303)
OKLCHoklch(54.64% 0.221 323.8)
XYZxyz(26.0624, 13.8433, 46.0898)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2DB7 #3AB72D
analogous
#652DB7 #AA2DB7 #B72D7F
triadic
#AA2DB7 #B7AA2D #2DB7AA
tetradic
#AA2DB7 #B7652D #3AB72D #2D7FB7
square
#AA2DB7 #B7652D #3AB72D #2D7FB7
split-complementary
#AA2DB7 #7FB72D #2DB765
monochromatic
#4F1555 #7C2186 #AA2DB7 #C74ED3 #D67FDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA2DB7#FFFFFF#000000##FFFFFF
##AA2DB71.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)
#005FBB
Deuteranopia (green-blind)
#476DB4
Tritanopia (blue-blind)
#AD4771
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2db7;
/* rgb */ color: rgb(170, 45, 183);
/* oklch */ color: oklch(54.6% 0.221 323.8);
Tailwind
colors: {
  custom: {
    50: '#c774cd',
    500: '#aa2db7',
    950: '#000000',
  },
}
SCSS
$custom: #aa2db7;
$custom-light: #c774cd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2db7",
  "rgb": {
    "r": 170,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 294.348,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54637,
    "c": 0.22067,
    "h": 323.8
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#AA2DB7
secondary
#7FC878
accent
#E44453
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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