#A52A91#A52A91

#A52A91 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.192 H 335.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A52A91
RGBrgb(165, 42, 145)
HSLhsl(310, 59%, 41%)
HSVhsv(310, 75%, 65%)
CMYKcmyk(0%, 74.5%, 12.1%, 35.3%)
CIE-LABlab(40.74, 59.88, -29.22)
CIE-LCHlch(40.74, 66.64, 333.99°)
OKLaboklab(51.46% 0.1752 -0.0798)
OKLCHoklch(51.46% 0.192 335.5)
XYZxyz(21.4561, 11.7015, 27.9112)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A91 #2AA53E
analogous
#7B2AA5 #A52A91 #A52A53
triadic
#A52A91 #91A52A #2A91A5
tetradic
#A52A91 #A57B2A #2AA53E #2A53A5
square
#A52A91 #A57B2A #2AA53E #2A53A5
split-complementary
#A52A91 #53A52A #2AA57B
monochromatic
#43113B #741E66 #A52A91 #CE3EB7 #DA6FC9

Accessibility & contrast

On white

6.29
#A52A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52A91
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A91#FFFFFF#000000##FFFFFF
##A52A911.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5494
Deuteranopia (green-blind)
#56678E
Tritanopia (blue-blind)
#AD345B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52a91;
/* rgb */ color: rgb(165, 42, 145);
/* oklch */ color: oklch(51.5% 0.192 335.5);
Tailwind
colors: {
  custom: {
    50: '#c370b1',
    500: '#a52a91',
    950: '#000000',
  },
}
SCSS
$custom: #a52a91;
$custom-light: #c370b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a91",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 309.756,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.19248,
    "h": 335.5
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#A52A91
secondary
#69C178
accent
#E35F45
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A52A91

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

Preview Lab → · Contrast checker → · Palette generator →

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