#AA42C0#AA42C0

#AA42C0 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.204 H 320.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA42C0
RGBrgb(170, 66, 192)
HSLhsl(290, 50%, 51%)
HSVhsv(290, 66%, 75%)
CMYKcmyk(11.5%, 65.6%, 0%, 24.7%)
CIE-LABlab(47.30, 60.00, -46.71)
CIE-LCHlch(47.30, 76.04, 322.10°)
OKLaboklab(57.16% 0.1566 -0.1305)
OKLCHoklch(57.16% 0.204 320.2)
XYZxyz(28.0390, 16.2496, 51.5185)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA42C0 #58C042
analogous
#6B42C0 #AA42C0 #C04297
triadic
#AA42C0 #C0AA42 #42C0AA
tetradic
#AA42C0 #C06B42 #58C042 #4297C0
square
#AA42C0 #C06B42 #58C042 #4297C0
split-complementary
#AA42C0 #97C042 #42C06B
monochromatic
#5A2266 #823194 #AA42C0 #BF70CF #D39EDF

Accessibility & contrast

On white

4.94
#AA42C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AA42C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA42C0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA42C0#FFFFFF#000000##FFFFFF
##AA42C01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A69C4
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#AB587B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa42c0;
/* rgb */ color: rgb(170, 66, 192);
/* oklch */ color: oklch(57.2% 0.204 320.2);
Tailwind
colors: {
  custom: {
    50: '#c77ed3',
    500: '#aa42c0',
    950: '#000000',
  },
}
SCSS
$custom: #aa42c0;
$custom-light: #c77ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa42c0",
  "rgb": {
    "r": 170,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 289.524,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.20384,
    "h": 320.2
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#AA42C0
secondary
#9DCB93
accent
#DA4E67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AA42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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