#A52FA9#A52FA9

#A52FA9 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.205 H 326.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A52FA9
RGBrgb(165, 47, 169)
HSLhsl(298, 56%, 42%)
HSVhsv(298, 72%, 66%)
CMYKcmyk(2.4%, 72.2%, 0%, 33.7%)
CIE-LABlab(42.61, 62.05, -40.70)
CIE-LCHlch(42.61, 74.21, 326.74°)
OKLaboklab(53.22% 0.1712 -0.113)
OKLCHoklch(53.22% 0.205 326.6)
XYZxyz(23.6946, 12.8986, 38.7701)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FA9 #33A92F
analogous
#682FA9 #A52FA9 #A92F70
triadic
#A52FA9 #A9A52F #2FA9A5
tetradic
#A52FA9 #A9682F #33A92F #2F70A9
square
#A52FA9 #A9682F #33A92F #2F70A9
split-complementary
#A52FA9 #70A92F #2FA968
monochromatic
#481449 #762279 #A52FA9 #C849CC #D679DA

Accessibility & contrast

On white

5.87
#A52FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A52FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FA9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FA9#FFFFFF#000000##FFFFFF
##A52FA91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125BAC
Deuteranopia (green-blind)
#4C6AA6
Tritanopia (blue-blind)
#A94369
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52fa9;
/* rgb */ color: rgb(165, 47, 169);
/* oklch */ color: oklch(53.2% 0.205 326.6);
Tailwind
colors: {
  custom: {
    50: '#c373c3',
    500: '#a52fa9',
    950: '#000000',
  },
}
SCSS
$custom: #a52fa9;
$custom-light: #c373c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fa9",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 298.033,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53219,
    "c": 0.20513,
    "h": 326.6
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#A52FA9
secondary
#75C272
accent
#E0484D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A52FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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