#A52F95#A52F95

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

Color values

HEX#A52F95
RGBrgb(165, 47, 149)
HSLhsl(308, 56%, 42%)
HSVhsv(308, 72%, 65%)
CMYKcmyk(0%, 71.5%, 9.7%, 35.3%)
CIE-LABlab(41.54, 58.79, -30.40)
CIE-LCHlch(41.54, 66.18, 332.66°)
OKLaboklab(52.1% 0.1705 -0.0832)
OKLCHoklch(52.1% 0.19 334)
XYZxyz(21.9586, 12.2041, 29.6271)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F95 #2FA53F
analogous
#7A2FA5 #A52F95 #A52F5A
triadic
#A52F95 #95A52F #2F95A5
tetradic
#A52F95 #A57A2F #2FA53F #2F5AA5
square
#A52F95 #A57A2F #2FA53F #2F5AA5
split-complementary
#A52F95 #5AA52F #2FA57A
monochromatic
#46143F #75216A #A52F95 #CB47B9 #D876CB

Accessibility & contrast

On white

6.10
#A52F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52F95
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F95#FFFFFF#000000##FFFFFF
##A52F951.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52f95;
/* rgb */ color: rgb(165, 47, 149);
/* oklch */ color: oklch(52.1% 0.190 334.0);
Tailwind
colors: {
  custom: {
    50: '#c373b4',
    500: '#a52f95',
    950: '#000000',
  },
}
SCSS
$custom: #a52f95;
$custom-light: #c373b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f95",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 308.136,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.18968,
    "h": 334
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#A52F95
secondary
#70C07B
accent
#DF5D49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52F95

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

Preview Lab → · Contrast checker → · Palette generator →

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