#AA2BAC#AA2BAC

#AA2BAC is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.214 H 327.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AA2BAC
RGBrgb(170, 43, 172)
HSLhsl(299, 60%, 42%)
HSVhsv(299, 75%, 67%)
CMYKcmyk(1.2%, 75%, 0%, 32.5%)
CIE-LABlab(43.14, 64.95, -41.59)
CIE-LCHlch(43.14, 77.12, 327.37°)
OKLaboklab(53.81% 0.1803 -0.1154)
OKLCHoklch(53.81% 0.214 327.4)
XYZxyz(24.8875, 13.2541, 40.2692)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2BAC #2DAC2B
analogous
#6A2BAC #AA2BAC #AC2B6D
triadic
#AA2BAC #ACAA2B #2BACAA
tetradic
#AA2BAC #AC6A2B #2DAC2B #2B6DAC
square
#AA2BAC #AC6A2B #2DAC2B #2B6DAC
split-complementary
#AA2BAC #6DAC2B #2BAC6A
monochromatic
#49134A #7A1F7B #AA2BAC #CE44D0 #DB75DC

Accessibility & contrast

On white

5.75
#AA2BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AA2BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2BAC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2BAC#FFFFFF#000000##FFFFFF
##AA2BAC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075CAF
Deuteranopia (green-blind)
#4D6BA9
Tritanopia (blue-blind)
#AF406A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2bac;
/* rgb */ color: rgb(170, 43, 172);
/* oklch */ color: oklch(53.8% 0.214 327.4);
Tailwind
colors: {
  custom: {
    50: '#c773c5',
    500: '#aa2bac',
    950: '#000000',
  },
}
SCSS
$custom: #aa2bac;
$custom-light: #c773c5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2bac",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 299.07,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.21407,
    "h": 327.4
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#AA2BAC
secondary
#70C46F
accent
#E34547
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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