#AA2DB8#AA2DB8

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

Color values

HEX#AA2DB8
RGBrgb(170, 45, 184)
HSLhsl(294, 61%, 45%)
HSVhsv(294, 76%, 72%)
CMYKcmyk(7.6%, 75.5%, 0%, 27.8%)
CIE-LABlab(44.07, 66.36, -47.20)
CIE-LCHlch(44.07, 81.43, 324.58°)
OKLaboklab(54.7% 0.178 -0.1318)
OKLCHoklch(54.7% 0.221 323.5)
XYZxyz(26.1669, 13.8851, 46.6399)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2DB8 #3BB82D
analogous
#652DB8 #AA2DB8 #B82D80
triadic
#AA2DB8 #B8AA2D #2DB8AA
tetradic
#AA2DB8 #B8652D #3BB82D #2D80B8
square
#AA2DB8 #B8652D #3BB82D #2D80B8
split-complementary
#AA2DB8 #80B82D #2DB865
monochromatic
#4F1556 #7D2187 #AA2DB8 #C64ED4 #D680E0

Accessibility & contrast

On white

5.56
#AA2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2DB8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2DB8#FFFFFF#000000##FFFFFF
##AA2DB81.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#466DB5
Tritanopia (blue-blind)
#AD4771
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2db8;
/* rgb */ color: rgb(170, 45, 184);
/* oklch */ color: oklch(54.7% 0.221 323.5);
Tailwind
colors: {
  custom: {
    50: '#c774ce',
    500: '#aa2db8',
    950: '#000000',
  },
}
SCSS
$custom: #aa2db8;
$custom-light: #c774ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2db8",
  "rgb": {
    "r": 170,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 293.957,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.22147,
    "h": 323.5
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#AA2DB8
secondary
#80C978
accent
#E44454
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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