#A52A9F#A52A9F

#A52A9F is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.203 H 330.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A52A9F
RGBrgb(165, 42, 159)
HSLhsl(303, 59%, 41%)
HSVhsv(303, 75%, 65%)
CMYKcmyk(0%, 74.5%, 3.6%, 35.3%)
CIE-LABlab(41.47, 62.06, -36.54)
CIE-LCHlch(41.47, 72.02, 329.51°)
OKLaboklab(52.22% 0.1759 -0.1009)
OKLCHoklch(52.22% 0.203 330.2)
XYZxyz(22.6029, 12.1602, 33.9509)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A9F #2AA530
analogous
#6D2AA5 #A52A9F #A52A61
triadic
#A52A9F #9FA52A #2A9FA5
tetradic
#A52A9F #A56D2A #2AA530 #2A61A5
square
#A52A9F #A56D2A #2AA530 #2A61A5
split-complementary
#A52A9F #61A52A #2AA56D
monochromatic
#431141 #741E70 #A52A9F #CE3EC7 #DA6FD5

Accessibility & contrast

On white

6.12
#A52A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A52A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A9F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A9F#FFFFFF#000000##FFFFFF
##A52A9F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A2
Deuteranopia (green-blind)
#4F689C
Tritanopia (blue-blind)
#AB3B62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52a9f;
/* rgb */ color: rgb(165, 42, 159);
/* oklch */ color: oklch(52.2% 0.203 330.2);
Tailwind
colors: {
  custom: {
    50: '#c371bc',
    500: '#a52a9f',
    950: '#000000',
  },
}
SCSS
$custom: #a52a9f;
$custom-light: #c371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a9f",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 302.927,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.20276,
    "h": 330.2
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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