#A52497#A52497

#A52497 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.203 H 333.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A52497
RGBrgb(165, 36, 151)
HSLhsl(307, 64%, 39%)
HSVhsv(307, 78%, 65%)
CMYKcmyk(0%, 78.2%, 8.5%, 35.3%)
CIE-LABlab(40.41, 62.62, -33.39)
CIE-LCHlch(40.41, 70.97, 331.93°)
OKLaboklab(51.32% 0.1809 -0.0917)
OKLCHoklch(51.32% 0.203 333.1)
XYZxyz(21.7340, 11.4973, 30.3467)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52497 #24A532
analogous
#7324A5 #A52497 #A52456
triadic
#A52497 #97A524 #2497A5
tetradic
#A52497 #A57324 #24A532 #2456A5
square
#A52497 #A57324 #24A532 #2456A5
split-complementary
#A52497 #56A524 #24A573
monochromatic
#410E3B #731969 #A52497 #D334C1 #DE66D1

Accessibility & contrast

On white

6.37
#A52497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A52497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52497
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52497#FFFFFF#000000##FFFFFF
##A524971.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549A
Deuteranopia (green-blind)
#516694
Tritanopia (blue-blind)
#AD335C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52497;
/* rgb */ color: rgb(165, 36, 151);
/* oklch */ color: oklch(51.3% 0.203 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46eb6',
    500: '#a52497',
    950: '#000000',
  },
}
SCSS
$custom: #a52497;
$custom-light: #c46eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52497",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 306.512,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.20286,
    "h": 333.1
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#A52497
secondary
#62C36C
accent
#E75341
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52497

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

Preview Lab → · Contrast checker → · Palette generator →

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