#A524A9#A524A9

#A524A9 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.216 H 326.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A524A9
RGBrgb(165, 36, 169)
HSLhsl(298, 65%, 40%)
HSVhsv(298, 79%, 66%)
CMYKcmyk(2.4%, 78.7%, 0%, 33.7%)
CIE-LABlab(41.42, 65.48, -42.60)
CIE-LCHlch(41.42, 78.12, 326.95°)
OKLaboklab(52.37% 0.1808 -0.1184)
OKLCHoklch(52.37% 0.216 326.8)
XYZxyz(23.3090, 12.1273, 38.6416)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A524A9 #28A924
analogous
#6224A9 #A524A9 #A9246B
triadic
#A524A9 #A9A524 #24A9A5
tetradic
#A524A9 #A96224 #28A924 #246BA9
square
#A524A9 #A96224 #28A924 #246BA9
split-complementary
#A524A9 #6BA924 #24A962
monochromatic
#420F44 #741977 #A524A9 #CF36D4 #DB68DF

Accessibility & contrast

On white

6.13
#A524A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A524A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A524A9
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A524A9#FFFFFF#000000##FFFFFF
##A524A91.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#AA3C67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a524a9;
/* rgb */ color: rgb(165, 36, 169);
/* oklch */ color: oklch(52.4% 0.216 326.8);
Tailwind
colors: {
  custom: {
    50: '#c46fc3',
    500: '#a524a9',
    950: '#000000',
  },
}
SCSS
$custom: #a524a9;
$custom-light: #c46fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a524a9",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 298.195,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52369,
    "c": 0.21614,
    "h": 326.8
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#A524A9
secondary
#67C564
accent
#E84045
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A524A9

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

Preview Lab → · Contrast checker → · Palette generator →

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