#AA42BE#AA42BE

#AA42BE is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.0% C 0.202 H 320.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AA42BE
RGBrgb(170, 66, 190)
HSLhsl(290, 49%, 50%)
HSVhsv(290, 65%, 75%)
CMYKcmyk(10.5%, 65.3%, 0%, 25.5%)
CIE-LABlab(47.19, 59.62, -45.73)
CIE-LCHlch(47.19, 75.14, 322.51°)
OKLaboklab(57.05% 0.1566 -0.1276)
OKLCHoklch(57.05% 0.202 320.8)
XYZxyz(27.8190, 16.1616, 50.3594)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA42BE #56BE42
analogous
#6C42BE #AA42BE #BE4294
triadic
#AA42BE #BEAA42 #42BEAA
tetradic
#AA42BE #BE6C42 #56BE42 #4294BE
square
#AA42BE #BE6C42 #56BE42 #4294BE
split-complementary
#AA42BE #94BE42 #42BE6C
monochromatic
#592263 #823291 #AA42BE #BE70CE #D39DDD

Accessibility & contrast

On white

4.96
#AA42BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AA42BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA42BE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA42BE#FFFFFF#000000##FFFFFF
##AA42BE1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E69C2
Deuteranopia (green-blind)
#4E74BB
Tritanopia (blue-blind)
#AB577A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa42be;
/* rgb */ color: rgb(170, 66, 190);
/* oklch */ color: oklch(57.0% 0.202 320.8);
Tailwind
colors: {
  custom: {
    50: '#c77ed2',
    500: '#aa42be',
    950: '#000000',
  },
}
SCSS
$custom: #aa42be;
$custom-light: #c77ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa42be",
  "rgb": {
    "r": 170,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 290.323,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57045,
    "c": 0.20204,
    "h": 320.8
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#AA42BE
secondary
#9BCA92
accent
#D84F66
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AA42BE

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

Preview Lab → · Contrast checker → · Palette generator →

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