#A52F99#A52F99

#A52F99 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.193 H 332.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A52F99
RGBrgb(165, 47, 153)
HSLhsl(306, 56%, 42%)
HSVhsv(306, 72%, 65%)
CMYKcmyk(0%, 71.5%, 7.3%, 35.3%)
CIE-LABlab(41.74, 59.42, -32.49)
CIE-LCHlch(41.74, 67.72, 331.33°)
OKLaboklab(52.32% 0.1708 -0.0892)
OKLCHoklch(52.32% 0.193 332.4)
XYZxyz(22.2834, 12.3341, 31.3379)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F99 #2FA53B
analogous
#762FA5 #A52F99 #A52F5E
triadic
#A52F99 #99A52F #2F99A5
tetradic
#A52F99 #A5762F #2FA53B #2F5EA5
square
#A52F99 #A5762F #2FA53B #2F5EA5
split-complementary
#A52F99 #5EA52F #2FA576
monochromatic
#461441 #75216D #A52F99 #CB47BD #D876CE

Accessibility & contrast

On white

6.06
#A52F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A52F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F99
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F99#FFFFFF#000000##FFFFFF
##A52F991.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#556896
Tritanopia (blue-blind)
#AC3B60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52f99;
/* rgb */ color: rgb(165, 47, 153);
/* oklch */ color: oklch(52.3% 0.193 332.4);
Tailwind
colors: {
  custom: {
    50: '#c373b7',
    500: '#a52f99',
    950: '#000000',
  },
}
SCSS
$custom: #a52f99;
$custom-light: #c373b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f99",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 306.102,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.19267,
    "h": 332.4
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#A52F99
secondary
#70C078
accent
#DF5849
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52F99

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

Preview Lab → · Contrast checker → · Palette generator →

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