#A524A6#A524A6

#A524A6 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.214 H 327.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A524A6
RGBrgb(165, 36, 166)
HSLhsl(300, 64%, 40%)
HSVhsv(300, 78%, 65%)
CMYKcmyk(0.6%, 78.3%, 0%, 34.9%)
CIE-LABlab(41.24, 64.99, -41.09)
CIE-LCHlch(41.24, 76.89, 327.69°)
OKLaboklab(52.19% 0.1809 -0.1141)
OKLCHoklch(52.19% 0.214 327.8)
XYZxyz(23.0306, 12.0160, 37.1753)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A524A6 #25A624
analogous
#6424A6 #A524A6 #A62466
triadic
#A524A6 #A6A524 #24A6A5
tetradic
#A524A6 #A66424 #25A624 #2466A6
square
#A524A6 #A66424 #25A624 #2466A6
split-complementary
#A524A6 #66A624 #24A664
monochromatic
#410E41 #731974 #A524A6 #D234D3 #DD66DE

Accessibility & contrast

On white

6.17
#A524A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A524A6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A524A6#FFFFFF#000000##FFFFFF
##A524A61.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#AA3B65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a524a6;
/* rgb */ color: rgb(165, 36, 166);
/* oklch */ color: oklch(52.2% 0.214 327.8);
Tailwind
colors: {
  custom: {
    50: '#c46fc1',
    500: '#a524a6',
    950: '#000000',
  },
}
SCSS
$custom: #a524a6;
$custom-light: #c46fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a524a6",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 299.538,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52187,
    "c": 0.21387,
    "h": 327.8
  },
  "luminance": 0.12014
}

Semantic roles & 50–950 ramp

primary
#A524A6
secondary
#63C462
accent
#E74042
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A524A6

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

Preview Lab → · Contrast checker → · Palette generator →

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