#A52E95#A52E95

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

Color values

HEX#A52E95
RGBrgb(165, 46, 149)
HSLhsl(308, 56%, 41%)
HSVhsv(308, 72%, 65%)
CMYKcmyk(0%, 72.1%, 9.7%, 35.3%)
CIE-LABlab(41.41, 59.14, -30.59)
CIE-LCHlch(41.41, 66.59, 332.65°)
OKLaboklab(52.01% 0.1715 -0.0837)
OKLCHoklch(52.01% 0.191 334)
XYZxyz(21.9190, 12.1251, 29.6139)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52E95 #2EA53E
analogous
#7A2EA5 #A52E95 #A52E5A
triadic
#A52E95 #95A52E #2E95A5
tetradic
#A52E95 #A57A2E #2EA53E #2E5AA5
square
#A52E95 #A57A2E #2EA53E #2E5AA5
split-complementary
#A52E95 #5AA52E #2EA57A
monochromatic
#45133F #75216A #A52E95 #CB45B9 #D875CB

Accessibility & contrast

On white

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

On black

3.42
#A52E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A52E95#FFFFFF#000000##FFFFFF
##A52E951.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5798
Deuteranopia (green-blind)
#566892
Tritanopia (blue-blind)
#AD395E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52e95;
/* rgb */ color: rgb(165, 46, 149);
/* oklch */ color: oklch(52.0% 0.191 334.0);
Tailwind
colors: {
  custom: {
    50: '#c372b4',
    500: '#a52e95',
    950: '#000000',
  },
}
SCSS
$custom: #a52e95;
$custom-light: #c372b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52e95",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 308.067,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.19085,
    "h": 334
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#A52E95
secondary
#6FC079
accent
#E05C48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52E95

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

Preview Lab → · Contrast checker → · Palette generator →

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