#A52D99#A52D99

#A52D99 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.195 H 332.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A52D99
RGBrgb(165, 45, 153)
HSLhsl(306, 57%, 41%)
HSVhsv(306, 73%, 65%)
CMYKcmyk(0%, 72.7%, 7.3%, 35.3%)
CIE-LABlab(41.50, 60.11, -32.88)
CIE-LCHlch(41.50, 68.52, 331.32°)
OKLaboklab(52.14% 0.1728 -0.0903)
OKLCHoklch(52.14% 0.195 332.4)
XYZxyz(22.2053, 12.1778, 31.3119)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D99 #2DA539
analogous
#752DA5 #A52D99 #A52D5D
triadic
#A52D99 #99A52D #2D99A5
tetradic
#A52D99 #A5752D #2DA539 #2D5DA5
square
#A52D99 #A5752D #2DA539 #2D5DA5
split-complementary
#A52D99 #5DA52D #2DA575
monochromatic
#451340 #75206C #A52D99 #CC43BE #D973CF

Accessibility & contrast

On white

6.11
#A52D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A52D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D99
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D99#FFFFFF#000000##FFFFFF
##A52D991.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#546896
Tritanopia (blue-blind)
#AC3A60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52d99;
/* rgb */ color: rgb(165, 45, 153);
/* oklch */ color: oklch(52.1% 0.195 332.4);
Tailwind
colors: {
  custom: {
    50: '#c372b7',
    500: '#a52d99',
    950: '#000000',
  },
}
SCSS
$custom: #a52d99;
$custom-light: #c372b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d99",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 306,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52139,
    "c": 0.19497,
    "h": 332.4
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#A52D99
secondary
#6DC176
accent
#E05747
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52D99

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

Preview Lab → · Contrast checker → · Palette generator →

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