#AA2DB1#AA2DB1

#AA2DB1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.216 H 325.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AA2DB1
RGBrgb(170, 45, 177)
HSLhsl(297, 59%, 44%)
HSVhsv(297, 75%, 69%)
CMYKcmyk(4%, 74.6%, 0%, 30.6%)
CIE-LABlab(43.65, 65.15, -43.74)
CIE-LCHlch(43.65, 78.47, 326.13°)
OKLaboklab(54.27% 0.1784 -0.1217)
OKLCHoklch(54.27% 0.216 325.7)
XYZxyz(25.4512, 13.5989, 42.8708)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2DB1 #34B12D
analogous
#682DB1 #AA2DB1 #B12D76
triadic
#AA2DB1 #B1AA2D #2DB1AA
tetradic
#AA2DB1 #B1682D #34B12D #2D76B1
square
#AA2DB1 #B1682D #34B12D #2D76B1
split-complementary
#AA2DB1 #76B12D #2DB168
monochromatic
#4C144F #7B2180 #AA2DB1 #CA4AD1 #D87BDD

Accessibility & contrast

On white

5.65
#AA2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AA2DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2DB1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2DB1#FFFFFF#000000##FFFFFF
##AA2DB11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#4B6CAE
Tritanopia (blue-blind)
#AE446D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2db1;
/* rgb */ color: rgb(170, 45, 177);
/* oklch */ color: oklch(54.3% 0.216 325.7);
Tailwind
colors: {
  custom: {
    50: '#c774c9',
    500: '#aa2db1',
    950: '#000000',
  },
}
SCSS
$custom: #aa2db1;
$custom-light: #c774c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2db1",
  "rgb": {
    "r": 170,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 296.818,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5427,
    "c": 0.21593,
    "h": 325.7
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#AA2DB1
secondary
#78C674
accent
#E3454E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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