#A524A8#A524A8

#A524A8 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.215 H 327.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A524A8
RGBrgb(165, 36, 168)
HSLhsl(299, 65%, 40%)
HSVhsv(299, 79%, 66%)
CMYKcmyk(1.8%, 78.6%, 0%, 34.1%)
CIE-LABlab(41.36, 65.31, -42.10)
CIE-LCHlch(41.36, 77.71, 327.19°)
OKLaboklab(52.31% 0.1808 -0.117)
OKLCHoklch(52.31% 0.215 327.1)
XYZxyz(23.2154, 12.0899, 38.1490)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A524A8 #27A824
analogous
#6324A8 #A524A8 #A82469
triadic
#A524A8 #A8A524 #24A8A5
tetradic
#A524A8 #A86324 #27A824 #2469A8
square
#A524A8 #A86324 #27A824 #2469A8
split-complementary
#A524A8 #69A824 #24A863
monochromatic
#420E43 #731976 #A524A8 #D035D4 #DC68DF

Accessibility & contrast

On white

6.14
#A524A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A524A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A524A8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A524A8#FFFFFF#000000##FFFFFF
##A524A81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#AA3C66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a524a8;
/* rgb */ color: rgb(165, 36, 168);
/* oklch */ color: oklch(52.3% 0.215 327.1);
Tailwind
colors: {
  custom: {
    50: '#c46fc2',
    500: '#a524a8',
    950: '#000000',
  },
}
SCSS
$custom: #a524a8;
$custom-light: #c46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a524a8",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 298.636,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.21538,
    "h": 327.1
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#A524A8
secondary
#66C463
accent
#E84044
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A524A8

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

Preview Lab → · Contrast checker → · Palette generator →

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