#AA42B0#AA42B0

#AA42B0 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.190 H 325.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AA42B0
RGBrgb(170, 66, 176)
HSLhsl(297, 45%, 47%)
HSVhsv(297, 63%, 69%)
CMYKcmyk(3.4%, 62.5%, 0%, 31%)
CIE-LABlab(46.42, 57.04, -38.76)
CIE-LCHlch(46.42, 68.96, 325.80°)
OKLaboklab(56.24% 0.1563 -0.1074)
OKLCHoklch(56.24% 0.19 325.5)
XYZxyz(26.3617, 15.5787, 42.6843)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA42B0 #48B042
analogous
#7342B0 #AA42B0 #B0427F
triadic
#AA42B0 #B0AA42 #42B0AA
tetradic
#AA42B0 #B07342 #48B042 #427FB0
square
#AA42B0 #B07342 #48B042 #427FB0
split-complementary
#AA42B0 #7FB042 #42B073
monochromatic
#542157 #7F3183 #AA42B0 #C169C7 #D495D7

Accessibility & contrast

On white

5.10
#AA42B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AA42B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA42B0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA42B0#FFFFFF#000000##FFFFFF
##AA42B01.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3066B3
Deuteranopia (green-blind)
#5772AD
Tritanopia (blue-blind)
#AE5173
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa42b0;
/* rgb */ color: rgb(170, 66, 176);
/* oklch */ color: oklch(56.2% 0.190 325.5);
Tailwind
colors: {
  custom: {
    50: '#c67dc8',
    500: '#aa42b0',
    950: '#000000',
  },
}
SCSS
$custom: #aa42b0;
$custom-light: #c67dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa42b0",
  "rgb": {
    "r": 170,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 296.727,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5624,
    "c": 0.18959,
    "h": 325.5
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

primary
#AA42B0
secondary
#8EC38B
accent
#D5535A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA42B0

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

Preview Lab → · Contrast checker → · Palette generator →

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