#A52D92#A52D92

#A52D92 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.190 H 335.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A52D92
RGBrgb(165, 45, 146)
HSLhsl(310, 57%, 41%)
HSVhsv(310, 73%, 65%)
CMYKcmyk(0%, 72.7%, 11.5%, 35.3%)
CIE-LABlab(41.14, 59.03, -29.20)
CIE-LCHlch(41.14, 65.86, 333.68°)
OKLaboklab(51.77% 0.1723 -0.0797)
OKLCHoklch(51.77% 0.19 335.2)
XYZxyz(21.6440, 11.9533, 28.3559)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D92 #2DA540
analogous
#7C2DA5 #A52D92 #A52D56
triadic
#A52D92 #92A52D #2D92A5
tetradic
#A52D92 #A57C2D #2DA540 #2D56A5
square
#A52D92 #A57C2D #2DA540 #2D56A5
split-complementary
#A52D92 #56A52D #2DA57C
monochromatic
#45133D #752067 #A52D92 #CC43B6 #D973C9

Accessibility & contrast

On white

6.19
#A52D92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A52D92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D92
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D92#FFFFFF#000000##FFFFFF
##A52D921.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5695
Deuteranopia (green-blind)
#57678F
Tritanopia (blue-blind)
#AD365C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52d92;
/* rgb */ color: rgb(165, 45, 146);
/* oklch */ color: oklch(51.8% 0.190 335.2);
Tailwind
colors: {
  custom: {
    50: '#c372b2',
    500: '#a52d92',
    950: '#000000',
  },
}
SCSS
$custom: #a52d92;
$custom-light: #c372b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d92",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 309.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.18982,
    "h": 335.2
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#A52D92
secondary
#6DC17A
accent
#E06047
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52D92

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

Preview Lab → · Contrast checker → · Palette generator →

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