#A52A9E#A52A9E

#A52A9E is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.202 H 330.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A52A9E
RGBrgb(165, 42, 158)
HSLhsl(303, 59%, 41%)
HSVhsv(303, 75%, 65%)
CMYKcmyk(0%, 74.5%, 4.2%, 35.3%)
CIE-LABlab(41.42, 61.90, -36.02)
CIE-LCHlch(41.42, 71.62, 329.80°)
OKLaboklab(52.17% 0.1759 -0.0994)
OKLCHoklch(52.17% 0.202 330.5)
XYZxyz(22.5165, 12.1257, 33.4957)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A9E #2AA531
analogous
#6F2AA5 #A52A9E #A52A60
triadic
#A52A9E #9EA52A #2A9EA5
tetradic
#A52A9E #A56F2A #2AA531 #2A60A5
square
#A52A9E #A56F2A #2AA531 #2A60A5
split-complementary
#A52A9E #60A52A #2AA56F
monochromatic
#431141 #741E6F #A52A9E #CE3EC6 #DA6FD4

Accessibility & contrast

On white

6.13
#A52A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A52A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A9E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A9E#FFFFFF#000000##FFFFFF
##A52A9E1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A1
Deuteranopia (green-blind)
#50689B
Tritanopia (blue-blind)
#AB3A62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52a9e;
/* rgb */ color: rgb(165, 42, 158);
/* oklch */ color: oklch(52.2% 0.202 330.5);
Tailwind
colors: {
  custom: {
    50: '#c371bb',
    500: '#a52a9e',
    950: '#000000',
  },
}
SCSS
$custom: #a52a9e;
$custom-light: #c371bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a9e",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 303.415,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.202,
    "h": 330.5
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#A52A9E
secondary
#69C16E
accent
#E34E45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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