#AA42BF#AA42BF

#AA42BF is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.203 H 320.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AA42BF
RGBrgb(170, 66, 191)
HSLhsl(290, 49%, 50%)
HSVhsv(290, 65%, 75%)
CMYKcmyk(11%, 65.4%, 0%, 25.1%)
CIE-LABlab(47.24, 59.81, -46.22)
CIE-LCHlch(47.24, 75.59, 322.31°)
OKLaboklab(57.1% 0.1566 -0.1291)
OKLCHoklch(57.1% 0.203 320.5)
XYZxyz(27.9286, 16.2054, 50.9370)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA42BF #57BF42
analogous
#6B42BF #AA42BF #BF4295
triadic
#AA42BF #BFAA42 #42BFAA
tetradic
#AA42BF #BF6B42 #57BF42 #4295BF
square
#AA42BF #BF6B42 #57BF42 #4295BF
split-complementary
#AA42BF #95BF42 #42BF6B
monochromatic
#592265 #823292 #AA42BF #BF70CE #D39DDE

Accessibility & contrast

On white

4.95
#AA42BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AA42BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA42BF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA42BF#FFFFFF#000000##FFFFFF
##AA42BF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#AB577B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa42bf;
/* rgb */ color: rgb(170, 66, 191);
/* oklch */ color: oklch(57.1% 0.203 320.5);
Tailwind
colors: {
  custom: {
    50: '#c77ed3',
    500: '#aa42bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa42bf;
$custom-light: #c77ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa42bf",
  "rgb": {
    "r": 170,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 289.92,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57104,
    "c": 0.20294,
    "h": 320.5
  },
  "luminance": 0.16204
}

Semantic roles & 50–950 ramp

primary
#AA42BF
secondary
#9CCA93
accent
#D94F66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AA42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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