#A52598#A52598

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

Color values

HEX#A52598
RGBrgb(165, 37, 152)
HSLhsl(306, 63%, 40%)
HSVhsv(306, 78%, 65%)
CMYKcmyk(0%, 77.6%, 7.9%, 35.3%)
CIE-LABlab(40.56, 62.49, -33.75)
CIE-LCHlch(40.56, 71.02, 331.62°)
OKLaboklab(51.45% 0.1801 -0.0928)
OKLCHoklch(51.45% 0.203 332.7)
XYZxyz(21.8462, 11.5913, 30.7864)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52598 #25A532
analogous
#7225A5 #A52598 #A52558
triadic
#A52598 #98A525 #2598A5
tetradic
#A52598 #A57225 #25A532 #2558A5
square
#A52598 #A57225 #25A532 #2558A5
split-complementary
#A52598 #58A525 #25A572
monochromatic
#410F3C #731A6A #A52598 #D235C2 #DD67D1

Accessibility & contrast

On white

6.33
#A52598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A52598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52598
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52598#FFFFFF#000000##FFFFFF
##A525981.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#AC345D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52598;
/* rgb */ color: rgb(165, 37, 152);
/* oklch */ color: oklch(51.4% 0.203 332.7);
Tailwind
colors: {
  custom: {
    50: '#c46fb7',
    500: '#a52598',
    950: '#000000',
  },
}
SCSS
$custom: #a52598;
$custom-light: #c46fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52598",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 306.094,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51448,
    "c": 0.20262,
    "h": 332.7
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#A52598
secondary
#63C36D
accent
#E65241
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52598

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

Preview Lab → · Contrast checker → · Palette generator →

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