#A52C9E#A52C9E

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

Color values

HEX#A52C9E
RGBrgb(165, 44, 158)
HSLhsl(303, 58%, 41%)
HSVhsv(303, 73%, 65%)
CMYKcmyk(0%, 73.3%, 4.2%, 35.3%)
CIE-LABlab(41.64, 61.25, -35.66)
CIE-LCHlch(41.64, 70.87, 329.79°)
OKLaboklab(52.33% 0.174 -0.0983)
OKLCHoklch(52.33% 0.2 330.5)
XYZxyz(22.5892, 12.2711, 33.5199)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52C9E #2CA533
analogous
#6F2CA5 #A52C9E #A52C61
triadic
#A52C9E #9EA52C #2C9EA5
tetradic
#A52C9E #A56F2C #2CA533 #2C61A5
square
#A52C9E #A56F2C #2CA533 #2C61A5
split-complementary
#A52C9E #61A52C #2CA56F
monochromatic
#441241 #751F70 #A52C9E #CD42C4 #D972D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52C9E#FFFFFF#000000##FFFFFF
##A52C9E1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#AB3B62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52c9e;
/* rgb */ color: rgb(165, 44, 158);
/* oklch */ color: oklch(52.3% 0.200 330.5);
Tailwind
colors: {
  custom: {
    50: '#c372bb',
    500: '#a52c9e',
    950: '#000000',
  },
}
SCSS
$custom: #a52c9e;
$custom-light: #c372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a52c9e",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 303.471,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5233,
    "c": 0.19986,
    "h": 330.5
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#A52C9E
secondary
#6CC171
accent
#E15047
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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