#A52F96#A52F96

#A52F96 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.190 H 333.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A52F96
RGBrgb(165, 47, 150)
HSLhsl(308, 56%, 42%)
HSVhsv(308, 72%, 65%)
CMYKcmyk(0%, 71.5%, 9.1%, 35.3%)
CIE-LABlab(41.59, 58.95, -30.92)
CIE-LCHlch(41.59, 66.56, 332.32°)
OKLaboklab(52.15% 0.1706 -0.0847)
OKLCHoklch(52.15% 0.19 333.6)
XYZxyz(22.0387, 12.2362, 30.0493)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F96 #2FA53E
analogous
#792FA5 #A52F96 #A52F5B
triadic
#A52F96 #96A52F #2F96A5
tetradic
#A52F96 #A5792F #2FA53E #2F5BA5
square
#A52F96 #A5792F #2FA53E #2F5BA5
split-complementary
#A52F96 #5BA52F #2FA579
monochromatic
#46143F #75216B #A52F96 #CB47BA #D876CC

Accessibility & contrast

On white

6.09
#A52F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A52F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F96
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F96#FFFFFF#000000##FFFFFF
##A52F961.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#566893
Tritanopia (blue-blind)
#AD3A5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52f96;
/* rgb */ color: rgb(165, 47, 150);
/* oklch */ color: oklch(52.2% 0.190 333.6);
Tailwind
colors: {
  custom: {
    50: '#c373b5',
    500: '#a52f96',
    950: '#000000',
  },
}
SCSS
$custom: #a52f96;
$custom-light: #c373b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f96",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 307.627,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.19042,
    "h": 333.6
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#A52F96
secondary
#70C07A
accent
#DF5C49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52F96

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

Preview Lab → · Contrast checker → · Palette generator →

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