#A52898#A52898

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

Color values

HEX#A52898
RGBrgb(165, 40, 152)
HSLhsl(306, 61%, 40%)
HSVhsv(306, 76%, 65%)
CMYKcmyk(0%, 75.8%, 7.9%, 35.3%)
CIE-LABlab(40.87, 61.59, -33.26)
CIE-LCHlch(40.87, 69.99, 331.63°)
OKLaboklab(51.67% 0.1775 -0.0914)
OKLCHoklch(51.67% 0.2 332.8)
XYZxyz(21.9434, 11.7858, 30.8189)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52898 #28A535
analogous
#7328A5 #A52898 #A52859
triadic
#A52898 #98A528 #2898A5
tetradic
#A52898 #A57328 #28A535 #2859A5
square
#A52898 #A57328 #28A535 #2859A5
split-complementary
#A52898 #59A528 #28A573
monochromatic
#42103D #741C6B #A52898 #CF3BC0 #DB6CD0

Accessibility & contrast

On white

6.26
#A52898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52898
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52898#FFFFFF#000000##FFFFFF
##A528981.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#526795
Tritanopia (blue-blind)
#AC365E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52898;
/* rgb */ color: rgb(165, 40, 152);
/* oklch */ color: oklch(51.7% 0.200 332.8);
Tailwind
colors: {
  custom: {
    50: '#c370b7',
    500: '#a52898',
    950: '#000000',
  },
}
SCSS
$custom: #a52898;
$custom-light: #c370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52898",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 306.24,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.19964,
    "h": 332.8
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#A52898
secondary
#67C270
accent
#E45444
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52898

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

Preview Lab → · Contrast checker → · Palette generator →

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