#A52597#A52597

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

Color values

HEX#A52597
RGBrgb(165, 37, 151)
HSLhsl(307, 63%, 40%)
HSVhsv(307, 78%, 65%)
CMYKcmyk(0%, 77.6%, 8.5%, 35.3%)
CIE-LABlab(40.51, 62.34, -33.23)
CIE-LCHlch(40.51, 70.64, 331.94°)
OKLaboklab(51.39% 0.1801 -0.0913)
OKLCHoklch(51.39% 0.202 333.1)
XYZxyz(21.7647, 11.5587, 30.3569)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52597 #25A533
analogous
#7325A5 #A52597 #A52557
triadic
#A52597 #97A525 #2597A5
tetradic
#A52597 #A57325 #25A533 #2557A5
square
#A52597 #A57325 #25A533 #2557A5
split-complementary
#A52597 #57A525 #25A573
monochromatic
#410F3C #731A69 #A52597 #D235C1 #DD67D0

Accessibility & contrast

On white

6.34
#A52597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52597
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52597#FFFFFF#000000##FFFFFF
##A525971.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#526694
Tritanopia (blue-blind)
#AD335D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52597;
/* rgb */ color: rgb(165, 37, 151);
/* oklch */ color: oklch(51.4% 0.202 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46fb6',
    500: '#a52597',
    950: '#000000',
  },
}
SCSS
$custom: #a52597;
$custom-light: #c46fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52597",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 306.563,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.2019,
    "h": 333.1
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52597

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

Preview Lab → · Contrast checker → · Palette generator →

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