#AA42A3#AA42A3

#AA42A3 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.5% C 0.179 H 330.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AA42A3
RGBrgb(170, 66, 163)
HSLhsl(304, 44%, 46%)
HSVhsv(304, 61%, 67%)
CMYKcmyk(0%, 61.2%, 4.1%, 33.3%)
CIE-LABlab(45.76, 54.75, -32.12)
CIE-LCHlch(45.76, 63.48, 329.61°)
OKLaboklab(55.54% 0.1552 -0.0882)
OKLCHoklch(55.54% 0.179 330.4)
XYZxyz(25.1365, 15.0886, 36.2317)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA42A3 #42AA49
analogous
#7D42AA #AA42A3 #AA426F
triadic
#AA42A3 #A3AA42 #42A3AA
tetradic
#AA42A3 #AA7D42 #42AA49 #426FAA
square
#AA42A3 #AA7D42 #42AA49 #426FAA
split-complementary
#AA42A3 #6FAA42 #42AA7D
monochromatic
#52204E #7E3179 #AA42A3 #C366BD #D592D0

Accessibility & contrast

On white

5.23
#AA42A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AA42A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA42A3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA42A3#FFFFFF#000000##FFFFFF
##AA42A31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A6
Deuteranopia (green-blind)
#5E71A0
Tritanopia (blue-blind)
#B04D6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa42a3;
/* rgb */ color: rgb(170, 66, 163);
/* oklch */ color: oklch(55.5% 0.179 330.4);
Tailwind
colors: {
  custom: {
    50: '#c67dbe',
    500: '#aa42a3',
    950: '#000000',
  },
}
SCSS
$custom: #aa42a3;
$custom-light: #c67dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa42a3",
  "rgb": {
    "r": 170,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 304.038,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55544,
    "c": 0.17851,
    "h": 330.4
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#AA42A3
secondary
#88C08C
accent
#D45D54
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA42A3

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

Preview Lab → · Contrast checker → · Palette generator →

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