#A52D9E#A52D9E

#A52D9E is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.4% C 0.199 H 330.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A52D9E
RGBrgb(165, 45, 158)
HSLhsl(304, 57%, 41%)
HSVhsv(304, 73%, 65%)
CMYKcmyk(0%, 72.7%, 4.2%, 35.3%)
CIE-LABlab(41.76, 60.91, -35.47)
CIE-LCHlch(41.76, 70.49, 329.79°)
OKLaboklab(52.41% 0.173 -0.0978)
OKLCHoklch(52.41% 0.199 330.5)
XYZxyz(22.6269, 12.3465, 33.5325)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D9E #2DA534
analogous
#702DA5 #A52D9E #A52D62
triadic
#A52D9E #9EA52D #2D9EA5
tetradic
#A52D9E #A5702D #2DA534 #2D62A5
square
#A52D9E #A5702D #2DA534 #2D62A5
split-complementary
#A52D9E #62A52D #2DA570
monochromatic
#451342 #752070 #A52D9E #CC43C4 #D973D3

Accessibility & contrast

On white

6.05
#A52D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A52D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D9E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D9E#FFFFFF#000000##FFFFFF
##A52D9E1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#AB3C63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52d9e;
/* rgb */ color: rgb(165, 45, 158);
/* oklch */ color: oklch(52.4% 0.199 330.5);
Tailwind
colors: {
  custom: {
    50: '#c372bb',
    500: '#a52d9e',
    950: '#000000',
  },
}
SCSS
$custom: #a52d9e;
$custom-light: #c372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d9e",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 303.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.19875,
    "h": 330.5
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#A52D9E
secondary
#6DC172
accent
#E05047
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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