#A52E99#A52E99

#A52E99 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.194 H 332.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A52E99
RGBrgb(165, 46, 153)
HSLhsl(306, 56%, 41%)
HSVhsv(306, 72%, 65%)
CMYKcmyk(0%, 72.1%, 7.3%, 35.3%)
CIE-LABlab(41.62, 59.77, -32.69)
CIE-LCHlch(41.62, 68.12, 331.33°)
OKLaboklab(52.23% 0.1718 -0.0898)
OKLCHoklch(52.23% 0.194 332.4)
XYZxyz(22.2439, 12.2550, 31.3247)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52E99 #2EA53A
analogous
#762EA5 #A52E99 #A52E5E
triadic
#A52E99 #99A52E #2E99A5
tetradic
#A52E99 #A5762E #2EA53A #2E5EA5
square
#A52E99 #A5762E #2EA53A #2E5EA5
split-complementary
#A52E99 #5EA52E #2EA576
monochromatic
#451340 #75216D #A52E99 #CB45BE #D875CE

Accessibility & contrast

On white

6.09
#A52E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A52E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52E99
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52E99#FFFFFF#000000##FFFFFF
##A52E991.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52e99;
/* rgb */ color: rgb(165, 46, 153);
/* oklch */ color: oklch(52.2% 0.194 332.4);
Tailwind
colors: {
  custom: {
    50: '#c372b7',
    500: '#a52e99',
    950: '#000000',
  },
}
SCSS
$custom: #a52e99;
$custom-light: #c372b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52e99",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 306.05,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.19383,
    "h": 332.4
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#A52E99
secondary
#6FC077
accent
#E05748
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52E99

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

Preview Lab → · Contrast checker → · Palette generator →

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