#A52C9D#A52C9D

#A52C9D is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.3% C 0.199 H 330.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A52C9D
RGBrgb(165, 44, 157)
HSLhsl(304, 58%, 41%)
HSVhsv(304, 73%, 65%)
CMYKcmyk(0%, 73.3%, 4.8%, 35.3%)
CIE-LABlab(41.59, 61.09, -35.14)
CIE-LCHlch(41.59, 70.47, 330.09°)
OKLaboklab(52.27% 0.174 -0.0968)
OKLCHoklch(52.27% 0.199 330.9)
XYZxyz(22.5035, 12.2368, 33.0685)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52C9D #2CA534
analogous
#702CA5 #A52C9D #A52C60
triadic
#A52C9D #9DA52C #2C9DA5
tetradic
#A52C9D #A5702C #2CA534 #2C60A5
square
#A52C9D #A5702C #2CA534 #2C60A5
split-complementary
#A52C9D #60A52C #2CA570
monochromatic
#441241 #751F6F #A52C9D #CD42C3 #D972D3

Accessibility & contrast

On white

6.09
#A52C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A52C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52C9D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52C9D#FFFFFF#000000##FFFFFF
##A52C9D1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2057A0
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#AC3B62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52c9d;
/* rgb */ color: rgb(165, 44, 157);
/* oklch */ color: oklch(52.3% 0.199 330.9);
Tailwind
colors: {
  custom: {
    50: '#c372ba',
    500: '#a52c9d',
    950: '#000000',
  },
}
SCSS
$custom: #a52c9d;
$custom-light: #c372ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a52c9d",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 303.967,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.1991,
    "h": 330.9
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#A52C9D
secondary
#6CC172
accent
#E15147
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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