#AA42AE#AA42AE

#AA42AE is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.188 H 326.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AA42AE
RGBrgb(170, 66, 174)
HSLhsl(298, 45%, 47%)
HSVhsv(298, 62%, 68%)
CMYKcmyk(2.3%, 62.1%, 0%, 31.8%)
CIE-LABlab(46.31, 56.68, -37.75)
CIE-LCHlch(46.31, 68.10, 326.33°)
OKLaboklab(56.13% 0.1562 -0.1044)
OKLCHoklch(56.13% 0.188 326.2)
XYZxyz(26.1653, 15.5001, 41.6498)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA42AE #46AE42
analogous
#7442AE #AA42AE #AE427C
triadic
#AA42AE #AEAA42 #42AEAA
tetradic
#AA42AE #AE7442 #46AE42 #427CAE
square
#AA42AE #AE7442 #46AE42 #427CAE
split-complementary
#AA42AE #7CAE42 #42AE74
monochromatic
#532055 #7F3182 #AA42AE #C268C6 #D494D6

Accessibility & contrast

On white

5.12
#AA42AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AA42AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA42AE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA42AE#FFFFFF#000000##FFFFFF
##AA42AE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B1
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#AE5172
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa42ae;
/* rgb */ color: rgb(170, 66, 174);
/* oklch */ color: oklch(56.1% 0.188 326.2);
Tailwind
colors: {
  custom: {
    50: '#c67dc6',
    500: '#aa42ae',
    950: '#000000',
  },
}
SCSS
$custom: #aa42ae;
$custom-light: #c67dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa42ae",
  "rgb": {
    "r": 170,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 297.778,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5613,
    "c": 0.18786,
    "h": 326.2
  },
  "luminance": 0.15498
}

Semantic roles & 50–950 ramp

primary
#AA42AE
secondary
#8CC28A
accent
#D55358
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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