#A52AA0#A52AA0

#A52AA0 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.204 H 329.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A52AA0
RGBrgb(165, 42, 160)
HSLhsl(302, 59%, 41%)
HSVhsv(302, 75%, 65%)
CMYKcmyk(0%, 74.5%, 3%, 35.3%)
CIE-LABlab(41.52, 62.22, -37.05)
CIE-LCHlch(41.52, 72.42, 329.23°)
OKLaboklab(52.28% 0.1759 -0.1023)
OKLCHoklch(52.28% 0.204 329.8)
XYZxyz(22.6900, 12.1951, 34.4097)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AA0 #2AA52F
analogous
#6C2AA5 #A52AA0 #A52A62
triadic
#A52AA0 #A0A52A #2AA0A5
tetradic
#A52AA0 #A56C2A #2AA52F #2A62A5
square
#A52AA0 #A56C2A #2AA52F #2A62A5
split-complementary
#A52AA0 #62A52A #2AA56C
monochromatic
#431141 #741E71 #A52AA0 #CE3EC8 #DA6FD6

Accessibility & contrast

On white

6.11
#A52AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A52AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AA0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AA0#FFFFFF#000000##FFFFFF
##A52AA01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A3
Deuteranopia (green-blind)
#4F689D
Tritanopia (blue-blind)
#AB3B63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52aa0;
/* rgb */ color: rgb(165, 42, 160);
/* oklch */ color: oklch(52.3% 0.204 329.8);
Tailwind
colors: {
  custom: {
    50: '#c371bc',
    500: '#a52aa0',
    950: '#000000',
  },
}
SCSS
$custom: #a52aa0;
$custom-light: #c371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52aa0",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 302.439,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.20351,
    "h": 329.8
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#A52AA0
secondary
#69C16D
accent
#E34C45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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