#A52D93#A52D93

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

Color values

HEX#A52D93
RGBrgb(165, 45, 147)
HSLhsl(309, 57%, 41%)
HSVhsv(309, 73%, 65%)
CMYKcmyk(0%, 72.7%, 10.9%, 35.3%)
CIE-LABlab(41.19, 59.18, -29.73)
CIE-LCHlch(41.19, 66.23, 333.33°)
OKLaboklab(51.82% 0.1724 -0.0812)
OKLCHoklch(51.82% 0.191 334.8)
XYZxyz(21.7221, 11.9846, 28.7673)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D93 #2DA53F
analogous
#7B2DA5 #A52D93 #A52D57
triadic
#A52D93 #93A52D #2D93A5
tetradic
#A52D93 #A57B2D #2DA53F #2D57A5
square
#A52D93 #A57B2D #2DA53F #2D57A5
split-complementary
#A52D93 #57A52D #2DA57B
monochromatic
#45133D #752068 #A52D93 #CC43B7 #D973CA

Accessibility & contrast

On white

6.18
#A52D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A52D93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D93
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D93#FFFFFF#000000##FFFFFF
##A52D931.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5696
Deuteranopia (green-blind)
#576790
Tritanopia (blue-blind)
#AD375D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52d93;
/* rgb */ color: rgb(165, 45, 147);
/* oklch */ color: oklch(51.8% 0.191 334.8);
Tailwind
colors: {
  custom: {
    50: '#c372b3',
    500: '#a52d93',
    950: '#000000',
  },
}
SCSS
$custom: #a52d93;
$custom-light: #c372b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d93",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 309,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.19055,
    "h": 334.8
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52D93

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

Preview Lab → · Contrast checker → · Palette generator →

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