#A52D9C#A52D9C

#A52D9C is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 331.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A52D9C
RGBrgb(165, 45, 156)
HSLhsl(305, 57%, 41%)
HSVhsv(305, 73%, 65%)
CMYKcmyk(0%, 72.7%, 5.5%, 35.3%)
CIE-LABlab(41.65, 60.59, -34.44)
CIE-LCHlch(41.65, 69.69, 330.39°)
OKLaboklab(52.3% 0.173 -0.0948)
OKLCHoklch(52.3% 0.197 331.3)
XYZxyz(22.4562, 12.2782, 32.6332)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D9C #2DA536
analogous
#722DA5 #A52D9C #A52D60
triadic
#A52D9C #9CA52D #2D9CA5
tetradic
#A52D9C #A5722D #2DA536 #2D60A5
square
#A52D9C #A5722D #2DA536 #2D60A5
split-complementary
#A52D9C #60A52D #2DA572
monochromatic
#451341 #75206F #A52D9C #CC43C2 #D973D1

Accessibility & contrast

On white

6.08
#A52D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A52D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D9C
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D9C#FFFFFF#000000##FFFFFF
##A52D9C1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23589F
Deuteranopia (green-blind)
#526899
Tritanopia (blue-blind)
#AC3B62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52d9c;
/* rgb */ color: rgb(165, 45, 156);
/* oklch */ color: oklch(52.3% 0.197 331.3);
Tailwind
colors: {
  custom: {
    50: '#c372b9',
    500: '#a52d9c',
    950: '#000000',
  },
}
SCSS
$custom: #a52d9c;
$custom-light: #c372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d9c",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 304.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.19724,
    "h": 331.3
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#A52D9C
secondary
#6DC174
accent
#E05347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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