#A52FA5#A52FA5

#A52FA5 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.202 H 328.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A52FA5
RGBrgb(165, 47, 165)
HSLhsl(300, 56%, 42%)
HSVhsv(300, 72%, 65%)
CMYKcmyk(0%, 71.5%, 0%, 35.3%)
CIE-LABlab(42.38, 61.38, -38.68)
CIE-LCHlch(42.38, 72.55, 327.78°)
OKLaboklab(52.99% 0.1712 -0.1071)
OKLCHoklch(52.99% 0.202 328)
XYZxyz(23.3248, 12.7506, 36.8226)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FA5 #2FA52F
analogous
#6A2FA5 #A52FA5 #A52F6A
triadic
#A52FA5 #A5A52F #2FA5A5
tetradic
#A52FA5 #A56A2F #2FA52F #2F6AA5
square
#A52FA5 #A56A2F #2FA52F #2F6AA5
split-complementary
#A52FA5 #6AA52F #2FA56A
monochromatic
#461446 #752175 #A52FA5 #CB47CB #D876D8

Accessibility & contrast

On white

5.92
#A52FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A52FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FA5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FA5#FFFFFF#000000##FFFFFF
##A52FA51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#AA4167
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52fa5;
/* rgb */ color: rgb(165, 47, 165);
/* oklch */ color: oklch(53.0% 0.202 328.0);
Tailwind
colors: {
  custom: {
    50: '#c373c0',
    500: '#a52fa5',
    950: '#000000',
  },
}
SCSS
$custom: #a52fa5;
$custom-light: #c373c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fa5",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52985,
    "c": 0.20195,
    "h": 328
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#A52FA5
secondary
#70C070
accent
#DF4949
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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