#AA2BD3#AA2BD3

#AA2BD3 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.3% C 0.245 H 315.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AA2BD3
RGBrgb(170, 43, 211)
HSLhsl(285, 66%, 50%)
HSVhsv(285, 80%, 83%)
CMYKcmyk(19.4%, 79.6%, 0%, 17.3%)
CIE-LABlab(45.60, 71.83, -60.42)
CIE-LCHlch(45.60, 93.86, 319.94°)
OKLaboklab(56.34% 0.1762 -0.1705)
OKLCHoklch(56.34% 0.245 315.9)
XYZxyz(29.1975, 14.9781, 62.9685)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BD3 #54D32B
analogous
#562BD3 #AA2BD3 #D32BA8
triadic
#AA2BD3 #D3AA2B #2BD3AA
tetradic
#AA2BD3 #D3562B #54D32B #2BA8D3
square
#AA2BD3 #D3562B #54D32B #2BA8D3
split-complementary
#AA2BD3 #A8D32B #2BD356
monochromatic
#58166D #8121A0 #AA2BD3 #BF5DDE #D390E8

Accessibility & contrast

On white

5.26
#AA2BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AA2BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BD3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BD3#FFFFFF#000000##FFFFFF
##AA2BD31.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#276FD0
Tritanopia (blue-blind)
#A75380
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa2bd3;
/* rgb */ color: rgb(170, 43, 211);
/* oklch */ color: oklch(56.3% 0.245 315.9);
Tailwind
colors: {
  custom: {
    50: '#c874e1',
    500: '#aa2bd3',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bd3;
$custom-light: #c874e1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bd3",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 211
  },
  "hsl": {
    "h": 285.357,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56339,
    "c": 0.24519,
    "h": 315.9
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#AA2BD3
secondary
#99D387
accent
#E93F68
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AA2BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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