#AA2DBB#AA2DBB

#AA2DBB is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.224 H 322.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AA2DBB
RGBrgb(170, 45, 187)
HSLhsl(293, 61%, 45%)
HSVhsv(293, 76%, 73%)
CMYKcmyk(9.1%, 75.9%, 0%, 26.7%)
CIE-LABlab(44.25, 66.88, -48.67)
CIE-LCHlch(44.25, 82.71, 323.96°)
OKLaboklab(54.89% 0.1778 -0.1361)
OKLCHoklch(54.89% 0.224 322.6)
XYZxyz(26.4847, 14.0122, 48.3137)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2DBB #3EBB2D
analogous
#632DBB #AA2DBB #BB2D85
triadic
#AA2DBB #BBAA2D #2DBBAA
tetradic
#AA2DBB #BB632D #3EBB2D #2D85BB
square
#AA2DBB #BB632D #3EBB2D #2D85BB
split-complementary
#AA2DBB #85BB2D #2DBB63
monochromatic
#501558 #7D218A #AA2DBB #C550D5 #D582E1

Accessibility & contrast

On white

5.52
#AA2DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AA2DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2DBB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2DBB#FFFFFF#000000##FFFFFF
##AA2DBB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#AC4973
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa2dbb;
/* rgb */ color: rgb(170, 45, 187);
/* oklch */ color: oklch(54.9% 0.224 322.6);
Tailwind
colors: {
  custom: {
    50: '#c774d0',
    500: '#aa2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #aa2dbb;
$custom-light: #c774d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2dbb",
  "rgb": {
    "r": 170,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 292.817,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54887,
    "c": 0.22387,
    "h": 322.6
  },
  "luminance": 0.14011
}

Semantic roles & 50–950 ramp

primary
#AA2DBB
secondary
#84CA7A
accent
#E44357
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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