#AA2CA8#AA2CA8

#AA2CA8 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.210 H 328.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AA2CA8
RGBrgb(170, 44, 168)
HSLhsl(301, 59%, 42%)
HSVhsv(301, 74%, 67%)
CMYKcmyk(0%, 74.1%, 1.2%, 33.3%)
CIE-LABlab(43.03, 63.98, -39.40)
CIE-LCHlch(43.03, 75.13, 328.38°)
OKLaboklab(53.66% 0.1795 -0.109)
OKLCHoklch(53.66% 0.21 328.7)
XYZxyz(24.5459, 13.1764, 38.2887)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CA8 #2CAA2E
analogous
#6D2CAA #AA2CA8 #AA2C69
triadic
#AA2CA8 #A8AA2C #2CA8AA
tetradic
#AA2CA8 #AA6D2C #2CAA2E #2C69AA
square
#AA2CA8 #AA6D2C #2CAA2E #2C69AA
split-complementary
#AA2CA8 #69AA2C #2CAA6D
monochromatic
#491348 #791F78 #AA2CA8 #CF44CD #DB75DA

Accessibility & contrast

On white

5.78
#AA2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AA2CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CA8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CA8#FFFFFF#000000##FFFFFF
##AA2CA81.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155BAB
Deuteranopia (green-blind)
#506BA5
Tritanopia (blue-blind)
#B03F68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2ca8;
/* rgb */ color: rgb(170, 44, 168);
/* oklch */ color: oklch(53.7% 0.210 328.7);
Tailwind
colors: {
  custom: {
    50: '#c773c2',
    500: '#aa2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ca8;
$custom-light: #c773c2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ca8",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 300.952,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53659,
    "c": 0.20998,
    "h": 328.7
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#AA2CA8
secondary
#6FC370
accent
#E24846
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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