#A52FA4#A52FA4

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

Color values

HEX#A52FA4
RGBrgb(165, 47, 164)
HSLhsl(301, 56%, 42%)
HSVhsv(301, 72%, 65%)
CMYKcmyk(0%, 71.5%, 0.6%, 35.3%)
CIE-LABlab(42.33, 61.21, -38.17)
CIE-LCHlch(42.33, 72.14, 328.05°)
OKLaboklab(52.93% 0.1712 -0.1056)
OKLCHoklch(52.93% 0.201 328.3)
XYZxyz(23.2341, 12.7144, 36.3451)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FA4 #2FA530
analogous
#6B2FA5 #A52FA4 #A52F69
triadic
#A52FA4 #A4A52F #2FA4A5
tetradic
#A52FA4 #A56B2F #2FA530 #2F69A5
square
#A52FA4 #A56B2F #2FA530 #2F69A5
split-complementary
#A52FA4 #69A52F #2FA56B
monochromatic
#461445 #752175 #A52FA4 #CB47C9 #D876D7

Accessibility & contrast

On white

5.93
#A52FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52FA4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FA4#FFFFFF#000000##FFFFFF
##A52FA41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5AA7
Deuteranopia (green-blind)
#4F69A1
Tritanopia (blue-blind)
#AA4067
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52fa4;
/* rgb */ color: rgb(165, 47, 164);
/* oklch */ color: oklch(52.9% 0.201 328.3);
Tailwind
colors: {
  custom: {
    50: '#c373bf',
    500: '#a52fa4',
    950: '#000000',
  },
}
SCSS
$custom: #a52fa4;
$custom-light: #c373bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fa4",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 300.508,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.20116,
    "h": 328.3
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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