#A52D95#A52D95

#A52D95 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.192 H 334.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A52D95
RGBrgb(165, 45, 149)
HSLhsl(308, 57%, 41%)
HSVhsv(308, 73%, 65%)
CMYKcmyk(0%, 72.7%, 9.7%, 35.3%)
CIE-LABlab(41.29, 59.49, -30.78)
CIE-LCHlch(41.29, 66.98, 332.64°)
OKLaboklab(51.92% 0.1725 -0.0843)
OKLCHoklch(51.92% 0.192 334)
XYZxyz(21.8804, 12.0479, 29.6010)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52D95 #2DA53D
analogous
#792DA5 #A52D95 #A52D59
triadic
#A52D95 #95A52D #2D95A5
tetradic
#A52D95 #A5792D #2DA53D #2D59A5
square
#A52D95 #A5792D #2DA53D #2D59A5
split-complementary
#A52D95 #59A52D #2DA579
monochromatic
#45133E #75206A #A52D95 #CC43BA #D973CB

Accessibility & contrast

On white

6.16
#A52D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A52D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52D95
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52D95#FFFFFF#000000##FFFFFF
##A52D951.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#566892
Tritanopia (blue-blind)
#AD385E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52d95;
/* rgb */ color: rgb(165, 45, 149);
/* oklch */ color: oklch(51.9% 0.192 334.0);
Tailwind
colors: {
  custom: {
    50: '#c372b4',
    500: '#a52d95',
    950: '#000000',
  },
}
SCSS
$custom: #a52d95;
$custom-light: #c372b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52d95",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 308,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51924,
    "c": 0.19201,
    "h": 334
  },
  "luminance": 0.12046
}

Semantic roles & 50–950 ramp

primary
#A52D95
secondary
#6DC178
accent
#E05C47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A52D95

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

Preview Lab → · Contrast checker → · Palette generator →

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