#A52896#A52896

#A52896 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.6% C 0.198 H 333.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A52896
RGBrgb(165, 40, 150)
HSLhsl(307, 61%, 40%)
HSVhsv(307, 76%, 65%)
CMYKcmyk(0%, 75.8%, 9.1%, 35.3%)
CIE-LABlab(40.77, 61.28, -32.21)
CIE-LCHlch(40.77, 69.23, 332.27°)
OKLaboklab(51.56% 0.1774 -0.0883)
OKLCHoklch(51.56% 0.198 333.5)
XYZxyz(21.7810, 11.7208, 29.9634)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52896 #28A537
analogous
#7528A5 #A52896 #A52857
triadic
#A52896 #96A528 #2896A5
tetradic
#A52896 #A57528 #28A537 #2857A5
square
#A52896 #A57528 #28A537 #2857A5
split-complementary
#A52896 #57A528 #28A575
monochromatic
#42103C #741C69 #A52896 #CF3BBE #DB6CCE

Accessibility & contrast

On white

6.28
#A52896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A52896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52896
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52896#FFFFFF#000000##FFFFFF
##A528961.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235599
Deuteranopia (green-blind)
#536693
Tritanopia (blue-blind)
#AD355D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52896;
/* rgb */ color: rgb(165, 40, 150);
/* oklch */ color: oklch(51.6% 0.198 333.5);
Tailwind
colors: {
  custom: {
    50: '#c370b5',
    500: '#a52896',
    950: '#000000',
  },
}
SCSS
$custom: #a52896;
$custom-light: #c370b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52896",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 307.2,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51564,
    "c": 0.19818,
    "h": 333.5
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#A52896
secondary
#67C272
accent
#E45744
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52896

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

Preview Lab → · Contrast checker → · Palette generator →

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