#A52FA3#A52FA3

#A52FA3 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.200 H 328.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A52FA3
RGBrgb(165, 47, 163)
HSLhsl(301, 56%, 42%)
HSVhsv(301, 72%, 65%)
CMYKcmyk(0%, 71.5%, 1.2%, 35.3%)
CIE-LABlab(42.27, 61.04, -37.66)
CIE-LCHlch(42.27, 71.72, 328.33°)
OKLaboklab(52.87% 0.1712 -0.1041)
OKLCHoklch(52.87% 0.2 328.7)
XYZxyz(23.1442, 12.6784, 35.8714)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FA3 #2FA531
analogous
#6C2FA5 #A52FA3 #A52F68
triadic
#A52FA3 #A3A52F #2FA3A5
tetradic
#A52FA3 #A56C2F #2FA531 #2F68A5
square
#A52FA3 #A56C2F #2FA531 #2F68A5
split-complementary
#A52FA3 #68A52F #2FA56C
monochromatic
#461445 #752174 #A52FA3 #CB47C8 #D876D6

Accessibility & contrast

On white

5.94
#A52FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A52FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FA3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FA3#FFFFFF#000000##FFFFFF
##A52FA31.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5AA6
Deuteranopia (green-blind)
#4F69A0
Tritanopia (blue-blind)
#AB4066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52fa3;
/* rgb */ color: rgb(165, 47, 163);
/* oklch */ color: oklch(52.9% 0.200 328.7);
Tailwind
colors: {
  custom: {
    50: '#c373bf',
    500: '#a52fa3',
    950: '#000000',
  },
}
SCSS
$custom: #a52fa3;
$custom-light: #c373bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fa3",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 301.017,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.20037,
    "h": 328.7
  },
  "luminance": 0.12677
}

Semantic roles & 50–950 ramp

primary
#A52FA3
secondary
#70C071
accent
#DF4B49
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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