#A52F9C#A52F9C

#A52F9C is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.195 H 331.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A52F9C
RGBrgb(165, 47, 156)
HSLhsl(305, 56%, 42%)
HSVhsv(305, 72%, 65%)
CMYKcmyk(0%, 71.5%, 5.5%, 35.3%)
CIE-LABlab(41.90, 59.90, -34.05)
CIE-LCHlch(41.90, 68.90, 330.38°)
OKLaboklab(52.48% 0.171 -0.0937)
OKLCHoklch(52.48% 0.195 331.3)
XYZxyz(22.5343, 12.4344, 32.6593)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F9C #2FA538
analogous
#732FA5 #A52F9C #A52F61
triadic
#A52F9C #9CA52F #2F9CA5
tetradic
#A52F9C #A5732F #2FA538 #2F61A5
square
#A52F9C #A5732F #2FA538 #2F61A5
split-complementary
#A52F9C #61A52F #2FA573
monochromatic
#461442 #75216F #A52F9C #CB47C0 #D876D1

Accessibility & contrast

On white

6.02
#A52F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A52F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F9C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F9C#FFFFFF#000000##FFFFFF
##A52F9C1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#536999
Tritanopia (blue-blind)
#AC3D62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52f9c;
/* rgb */ color: rgb(165, 47, 156);
/* oklch */ color: oklch(52.5% 0.195 331.3);
Tailwind
colors: {
  custom: {
    50: '#c373b9',
    500: '#a52f9c',
    950: '#000000',
  },
}
SCSS
$custom: #a52f9c;
$custom-light: #c373b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f9c",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 304.576,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.19495,
    "h": 331.3
  },
  "luminance": 0.12433
}

Semantic roles & 50–950 ramp

primary
#A52F9C
secondary
#70C076
accent
#DF5449
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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