#AA2CB7#AA2CB7

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

Color values

HEX#AA2CB7
RGBrgb(170, 44, 183)
HSLhsl(294, 61%, 45%)
HSVhsv(294, 76%, 72%)
CMYKcmyk(7.1%, 76%, 0%, 28.2%)
CIE-LABlab(43.90, 66.50, -46.88)
CIE-LCHlch(43.90, 81.36, 324.81°)
OKLaboklab(54.56% 0.1789 -0.1308)
OKLCHoklch(54.56% 0.222 323.8)
XYZxyz(26.0247, 13.7679, 46.0773)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CB7 #39B72C
analogous
#642CB7 #AA2CB7 #B72C7F
triadic
#AA2CB7 #B7AA2C #2CB7AA
tetradic
#AA2CB7 #B7642C #39B72C #2C7FB7
square
#AA2CB7 #B7642C #39B72C #2C7FB7
split-complementary
#AA2CB7 #7FB72C #2CB764
monochromatic
#4E1454 #7C2086 #AA2CB7 #C74CD4 #D77EE0

Accessibility & contrast

On white

5.60
#AA2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AA2CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CB7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CB7#FFFFFF#000000##FFFFFF
##AA2CB71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#466DB4
Tritanopia (blue-blind)
#AD4670
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa2cb7;
/* rgb */ color: rgb(170, 44, 183);
/* oklch */ color: oklch(54.6% 0.222 323.8);
Tailwind
colors: {
  custom: {
    50: '#c773cd',
    500: '#aa2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #aa2cb7;
$custom-light: #c773cd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2cb7",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 294.388,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54559,
    "c": 0.22166,
    "h": 323.8
  },
  "luminance": 0.13766
}

Semantic roles & 50–950 ramp

primary
#AA2CB7
secondary
#7EC876
accent
#E44353
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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