#A52891#A52891

#A52891 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.195 H 335.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A52891
RGBrgb(165, 40, 145)
HSLhsl(310, 61%, 40%)
HSVhsv(310, 76%, 65%)
CMYKcmyk(0%, 75.8%, 12.1%, 35.3%)
CIE-LABlab(40.51, 60.52, -29.58)
CIE-LCHlch(40.51, 67.37, 333.96°)
OKLaboklab(51.3% 0.1771 -0.0808)
OKLCHoklch(51.3% 0.195 335.5)
XYZxyz(21.3870, 11.5632, 27.8881)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52891 #28A53C
analogous
#7A28A5 #A52891 #A52852
triadic
#A52891 #91A528 #2891A5
tetradic
#A52891 #A57A28 #28A53C #2852A5
square
#A52891 #A57A28 #28A53C #2852A5
split-complementary
#A52891 #52A528 #28A57A
monochromatic
#42103A #741C66 #A52891 #CF3BB8 #DB6CCA

Accessibility & contrast

On white

6.34
#A52891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A52891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52891
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52891#FFFFFF#000000##FFFFFF
##A528911.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285494
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#AD325A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52891;
/* rgb */ color: rgb(165, 40, 145);
/* oklch */ color: oklch(51.3% 0.195 335.5);
Tailwind
colors: {
  custom: {
    50: '#c370b1',
    500: '#a52891',
    950: '#000000',
  },
}
SCSS
$custom: #a52891;
$custom-light: #c370b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52891",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 309.6,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.19461,
    "h": 335.5
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

primary
#A52891
secondary
#67C275
accent
#E45D44
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A52891

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

Preview Lab → · Contrast checker → · Palette generator →

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