#A52B95#A52B95

#A52B95 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.194 H 333.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A52B95
RGBrgb(165, 43, 149)
HSLhsl(308, 59%, 41%)
HSVhsv(308, 74%, 65%)
CMYKcmyk(0%, 73.9%, 9.7%, 35.3%)
CIE-LABlab(41.05, 60.16, -31.16)
CIE-LCHlch(41.05, 67.75, 332.62°)
OKLaboklab(51.75% 0.1745 -0.0853)
OKLCHoklch(51.75% 0.194 333.9)
XYZxyz(21.8059, 11.8989, 29.5762)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52B95 #2BA53B
analogous
#782BA5 #A52B95 #A52B58
triadic
#A52B95 #95A52B #2B95A5
tetradic
#A52B95 #A5782B #2BA53B #2B58A5
square
#A52B95 #A5782B #2BA53B #2B58A5
split-complementary
#A52B95 #58A52B #2BA578
monochromatic
#44123D #741E69 #A52B95 #CD40BB #DA71CC

Accessibility & contrast

On white

6.21
#A52B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A52B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52B95
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52B95#FFFFFF#000000##FFFFFF
##A52B951.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285598
Deuteranopia (green-blind)
#556792
Tritanopia (blue-blind)
#AD365D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a52b95;
/* rgb */ color: rgb(165, 43, 149);
/* oklch */ color: oklch(51.8% 0.194 333.9);
Tailwind
colors: {
  custom: {
    50: '#c371b4',
    500: '#a52b95',
    950: '#000000',
  },
}
SCSS
$custom: #a52b95;
$custom-light: #c371b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52b95",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 307.869,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.19425,
    "h": 333.9
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#A52B95
secondary
#6BC176
accent
#E25A46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52B95

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

Preview Lab → · Contrast checker → · Palette generator →

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