#A52897#A52897

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

Color values

HEX#A52897
RGBrgb(165, 40, 151)
HSLhsl(307, 61%, 40%)
HSVhsv(307, 76%, 65%)
CMYKcmyk(0%, 75.8%, 8.5%, 35.3%)
CIE-LABlab(40.82, 61.43, -32.74)
CIE-LCHlch(40.82, 69.61, 331.95°)
OKLaboklab(51.62% 0.1775 -0.0899)
OKLCHoklch(51.62% 0.199 333.1)
XYZxyz(21.8619, 11.7531, 30.3893)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52897 #28A536
analogous
#7428A5 #A52897 #A52858
triadic
#A52897 #97A528 #2897A5
tetradic
#A52897 #A57428 #28A536 #2858A5
square
#A52897 #A57428 #28A536 #2858A5
split-complementary
#A52897 #58A528 #28A574
monochromatic
#42103D #741C6A #A52897 #CF3BBF #DB6CCF

Accessibility & contrast

On white

6.27
#A52897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A52897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52897
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52897#FFFFFF#000000##FFFFFF
##A528971.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52897;
/* rgb */ color: rgb(165, 40, 151);
/* oklch */ color: oklch(51.6% 0.199 333.1);
Tailwind
colors: {
  custom: {
    50: '#c370b6',
    500: '#a52897',
    950: '#000000',
  },
}
SCSS
$custom: #a52897;
$custom-light: #c370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52897",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 306.72,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51619,
    "c": 0.19891,
    "h": 333.1
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#A52897
secondary
#67C271
accent
#E45644
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52897

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

Preview Lab → · Contrast checker → · Palette generator →

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