#A52C9F#A52C9F

#A52C9F is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.201 H 330.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A52C9F
RGBrgb(165, 44, 159)
HSLhsl(303, 58%, 41%)
HSVhsv(303, 73%, 65%)
CMYKcmyk(0%, 73.3%, 3.6%, 35.3%)
CIE-LABlab(41.70, 61.41, -36.17)
CIE-LCHlch(41.70, 71.27, 329.50°)
OKLaboklab(52.39% 0.174 -0.0998)
OKLCHoklch(52.39% 0.201 330.2)
XYZxyz(22.6756, 12.3057, 33.9751)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52C9F #2CA532
analogous
#6E2CA5 #A52C9F #A52C62
triadic
#A52C9F #9FA52C #2C9FA5
tetradic
#A52C9F #A56E2C #2CA532 #2C62A5
square
#A52C9F #A56E2C #2CA532 #2C62A5
split-complementary
#A52C9F #62A52C #2CA56E
monochromatic
#441242 #751F70 #A52C9F #CD42C6 #D972D4

Accessibility & contrast

On white

6.07
#A52C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52C9F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52C9F#FFFFFF#000000##FFFFFF
##A52C9F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#AB3C63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52c9f;
/* rgb */ color: rgb(165, 44, 159);
/* oklch */ color: oklch(52.4% 0.201 330.2);
Tailwind
colors: {
  custom: {
    50: '#c372bc',
    500: '#a52c9f',
    950: '#000000',
  },
}
SCSS
$custom: #a52c9f;
$custom-light: #c372bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52c9f",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 302.975,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.20062,
    "h": 330.2
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#A52C9F
secondary
#6CC170
accent
#E14E47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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