#A52B97#A52B97

#A52B97 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.196 H 333.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A52B97
RGBrgb(165, 43, 151)
HSLhsl(307, 59%, 41%)
HSVhsv(307, 74%, 65%)
CMYKcmyk(0%, 73.9%, 8.5%, 35.3%)
CIE-LABlab(41.16, 60.47, -32.20)
CIE-LCHlch(41.16, 68.51, 331.96°)
OKLaboklab(51.86% 0.1746 -0.0884)
OKLCHoklch(51.86% 0.196 333.2)
XYZxyz(21.9670, 11.9633, 30.4244)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52B97 #2BA539
analogous
#762BA5 #A52B97 #A52B5A
triadic
#A52B97 #97A52B #2B97A5
tetradic
#A52B97 #A5762B #2BA539 #2B5AA5
square
#A52B97 #A5762B #2BA539 #2B5AA5
split-complementary
#A52B97 #5AA52B #2BA576
monochromatic
#44123E #741E6B #A52B97 #CD40BD #DA71CE

Accessibility & contrast

On white

6.19
#A52B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A52B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52B97
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52B97#FFFFFF#000000##FFFFFF
##A52B971.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#AD375E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52b97;
/* rgb */ color: rgb(165, 43, 151);
/* oklch */ color: oklch(51.9% 0.196 333.2);
Tailwind
colors: {
  custom: {
    50: '#c371b6',
    500: '#a52b97',
    950: '#000000',
  },
}
SCSS
$custom: #a52b97;
$custom-light: #c371b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52b97",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 306.885,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51861,
    "c": 0.19572,
    "h": 333.2
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#A52B97
secondary
#6BC175
accent
#E25846
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52B97

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

Preview Lab → · Contrast checker → · Palette generator →

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