#A524A5#A524A5

#A524A5 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.213 H 328.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A524A5
RGBrgb(165, 36, 165)
HSLhsl(300, 64%, 39%)
HSVhsv(300, 78%, 65%)
CMYKcmyk(0%, 78.2%, 0%, 35.3%)
CIE-LABlab(41.18, 64.82, -40.59)
CIE-LCHlch(41.18, 76.48, 327.95°)
OKLaboklab(52.13% 0.181 -0.1126)
OKLCHoklch(52.13% 0.213 328.1)
XYZxyz(22.9392, 11.9794, 36.6941)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A524A5 #24A524
analogous
#6524A5 #A524A5 #A52465
triadic
#A524A5 #A5A524 #24A5A5
tetradic
#A524A5 #A56524 #24A524 #2465A5
square
#A524A5 #A56524 #24A524 #2465A5
split-complementary
#A524A5 #65A524 #24A565
monochromatic
#410E41 #731973 #A524A5 #D334D3 #DE66DE

Accessibility & contrast

On white

6.18
#A524A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A524A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A524A5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A524A5#FFFFFF#000000##FFFFFF
##A524A51.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4A67A2
Tritanopia (blue-blind)
#AA3A64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a524a5;
/* rgb */ color: rgb(165, 36, 165);
/* oklch */ color: oklch(52.1% 0.213 328.1);
Tailwind
colors: {
  custom: {
    50: '#c46fc0',
    500: '#a524a5',
    950: '#000000',
  },
}
SCSS
$custom: #a524a5;
$custom-light: #c46fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#a524a5",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.21312,
    "h": 328.1
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#A524A5
secondary
#62C362
accent
#E74141
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A524A5

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

Preview Lab → · Contrast checker → · Palette generator →

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