#A52498#A52498

#A52498 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.204 H 332.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A52498
RGBrgb(165, 36, 152)
HSLhsl(306, 64%, 39%)
HSVhsv(306, 78%, 65%)
CMYKcmyk(0%, 78.2%, 7.9%, 35.3%)
CIE-LABlab(40.46, 62.78, -33.91)
CIE-LCHlch(40.46, 71.35, 331.62°)
OKLaboklab(51.38% 0.181 -0.0932)
OKLCHoklch(51.38% 0.204 332.7)
XYZxyz(21.8155, 11.5300, 30.7762)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52498 #24A531
analogous
#7224A5 #A52498 #A52457
triadic
#A52498 #98A524 #2498A5
tetradic
#A52498 #A57224 #24A531 #2457A5
square
#A52498 #A57224 #24A531 #2457A5
split-complementary
#A52498 #57A524 #24A572
monochromatic
#410E3B #73196A #A52498 #D334C3 #DE66D2

Accessibility & contrast

On white

6.35
#A52498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A52498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52498
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52498#FFFFFF#000000##FFFFFF
##A524981.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#AC335D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52498;
/* rgb */ color: rgb(165, 36, 152);
/* oklch */ color: oklch(51.4% 0.204 332.7);
Tailwind
colors: {
  custom: {
    50: '#c46eb7',
    500: '#a52498',
    950: '#000000',
  },
}
SCSS
$custom: #a52498;
$custom-light: #c46eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52498",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 306.047,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51377,
    "c": 0.20357,
    "h": 332.7
  },
  "luminance": 0.11528
}

Semantic roles & 50–950 ramp

primary
#A52498
secondary
#62C36B
accent
#E75141
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52498

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

Preview Lab → · Contrast checker → · Palette generator →

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