#A524A7#A524A7

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

Color values

HEX#A524A7
RGBrgb(165, 36, 167)
HSLhsl(299, 65%, 40%)
HSVhsv(299, 78%, 65%)
CMYKcmyk(1.2%, 78.4%, 0%, 34.5%)
CIE-LABlab(41.30, 65.15, -41.60)
CIE-LCHlch(41.30, 77.30, 327.44°)
OKLaboklab(52.25% 0.1809 -0.1155)
OKLCHoklch(52.25% 0.215 327.4)
XYZxyz(23.1226, 12.0528, 37.6603)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A524A7 #26A724
analogous
#6424A7 #A524A7 #A72468
triadic
#A524A7 #A7A524 #24A7A5
tetradic
#A524A7 #A76424 #26A724 #2468A7
square
#A524A7 #A76424 #26A724 #2468A7
split-complementary
#A524A7 #68A724 #24A764
monochromatic
#420E42 #731975 #A524A7 #D135D3 #DC67DE

Accessibility & contrast

On white

6.16
#A524A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A524A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A524A7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A524A7#FFFFFF#000000##FFFFFF
##A524A71.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#AA3B65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a524a7;
/* rgb */ color: rgb(165, 36, 167);
/* oklch */ color: oklch(52.2% 0.215 327.4);
Tailwind
colors: {
  custom: {
    50: '#c46fc2',
    500: '#a524a7',
    950: '#000000',
  },
}
SCSS
$custom: #a524a7;
$custom-light: #c46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a524a7",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 299.084,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.21463,
    "h": 327.4
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#A524A7
secondary
#64C463
accent
#E84043
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A524A7

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

Preview Lab → · Contrast checker → · Palette generator →

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