#A52997#A52997

#A52997 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.198 H 333.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A52997
RGBrgb(165, 41, 151)
HSLhsl(307, 60%, 40%)
HSVhsv(307, 75%, 65%)
CMYKcmyk(0%, 75.2%, 8.5%, 35.3%)
CIE-LABlab(40.93, 61.12, -32.56)
CIE-LCHlch(40.93, 69.25, 331.95°)
OKLaboklab(51.7% 0.1765 -0.0894)
OKLCHoklch(51.7% 0.198 333.1)
XYZxyz(21.8960, 11.8214, 30.4007)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52997 #29A537
analogous
#7529A5 #A52997 #A52959
triadic
#A52997 #97A529 #2997A5
tetradic
#A52997 #A57529 #29A537 #2959A5
square
#A52997 #A57529 #29A537 #2959A5
split-complementary
#A52997 #59A529 #29A575
monochromatic
#43113D #741D6A #A52997 #CF3DBE #DB6ECF

Accessibility & contrast

On white

6.24
#A52997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A52997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52997
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52997#FFFFFF#000000##FFFFFF
##A529971.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#536794
Tritanopia (blue-blind)
#AD365E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52997;
/* rgb */ color: rgb(165, 41, 151);
/* oklch */ color: oklch(51.7% 0.198 333.1);
Tailwind
colors: {
  custom: {
    50: '#c370b6',
    500: '#a52997',
    950: '#000000',
  },
}
SCSS
$custom: #a52997;
$custom-light: #c370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52997",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 306.774,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.19786,
    "h": 333.1
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#A52997
secondary
#68C272
accent
#E35644
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52997

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

Preview Lab → · Contrast checker → · Palette generator →

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