#A52F93#A52F93

#A52F93 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.188 H 334.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A52F93
RGBrgb(165, 47, 147)
HSLhsl(309, 56%, 42%)
HSVhsv(309, 72%, 65%)
CMYKcmyk(0%, 71.5%, 10.9%, 35.3%)
CIE-LABlab(41.44, 58.48, -29.34)
CIE-LCHlch(41.44, 65.43, 333.36°)
OKLaboklab(52% 0.1703 -0.0802)
OKLCHoklch(52% 0.188 334.8)
XYZxyz(21.8003, 12.1408, 28.7934)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F93 #2FA541
analogous
#7C2FA5 #A52F93 #A52F58
triadic
#A52F93 #93A52F #2F93A5
tetradic
#A52F93 #A57C2F #2FA541 #2F58A5
square
#A52F93 #A57C2F #2FA541 #2F58A5
split-complementary
#A52F93 #58A52F #2FA57C
monochromatic
#46143E #752169 #A52F93 #CB47B6 #D876C9

Accessibility & contrast

On white

6.13
#A52F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A52F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F93
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F93#FFFFFF#000000##FFFFFF
##A52F931.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5796
Deuteranopia (green-blind)
#576890
Tritanopia (blue-blind)
#AD385D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52f93;
/* rgb */ color: rgb(165, 47, 147);
/* oklch */ color: oklch(52.0% 0.188 334.8);
Tailwind
colors: {
  custom: {
    50: '#c373b3',
    500: '#a52f93',
    950: '#000000',
  },
}
SCSS
$custom: #a52f93;
$custom-light: #c373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f93",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 309.153,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.18821,
    "h": 334.8
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#A52F93
secondary
#70C07C
accent
#DF6049
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52F93

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

Preview Lab → · Contrast checker → · Palette generator →

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