#AA42AF#AA42AF

#AA42AF is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.189 H 325.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AA42AF
RGBrgb(170, 66, 175)
HSLhsl(297, 45%, 47%)
HSVhsv(297, 62%, 69%)
CMYKcmyk(2.9%, 62.3%, 0%, 31.4%)
CIE-LABlab(46.36, 56.86, -38.25)
CIE-LCHlch(46.36, 68.53, 326.07°)
OKLaboklab(56.18% 0.1562 -0.1059)
OKLCHoklch(56.18% 0.189 325.9)
XYZxyz(26.2631, 15.5392, 42.1652)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA42AF #47AF42
analogous
#7442AF #AA42AF #AF427D
triadic
#AA42AF #AFAA42 #42AFAA
tetradic
#AA42AF #AF7442 #47AF42 #427DAF
square
#AA42AF #AF7442 #47AF42 #427DAF
split-complementary
#AA42AF #7DAF42 #42AF74
monochromatic
#542056 #7F3183 #AA42AF #C268C6 #D495D7

Accessibility & contrast

On white

5.11
#AA42AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AA42AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA42AF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA42AF#FFFFFF#000000##FFFFFF
##AA42AF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#5872AC
Tritanopia (blue-blind)
#AE5172
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa42af;
/* rgb */ color: rgb(170, 66, 175);
/* oklch */ color: oklch(56.2% 0.189 325.9);
Tailwind
colors: {
  custom: {
    50: '#c67dc7',
    500: '#aa42af',
    950: '#000000',
  },
}
SCSS
$custom: #aa42af;
$custom-light: #c67dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa42af",
  "rgb": {
    "r": 170,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 297.248,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56185,
    "c": 0.18872,
    "h": 325.9
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#AA42AF
secondary
#8DC28A
accent
#D55359
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA42AF

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

Preview Lab → · Contrast checker → · Palette generator →

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