#A52A95#A52A95

#A52A95 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.195 H 333.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A52A95
RGBrgb(165, 42, 149)
HSLhsl(308, 59%, 41%)
HSVhsv(308, 75%, 65%)
CMYKcmyk(0%, 74.5%, 9.7%, 35.3%)
CIE-LABlab(40.94, 60.49, -31.34)
CIE-LCHlch(40.94, 68.13, 332.61°)
OKLaboklab(51.67% 0.1755 -0.0858)
OKLCHoklch(51.67% 0.195 333.9)
XYZxyz(21.7700, 11.8271, 29.5642)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A95 #2AA53A
analogous
#772AA5 #A52A95 #A52A57
triadic
#A52A95 #95A52A #2A95A5
tetradic
#A52A95 #A5772A #2AA53A #2A57A5
square
#A52A95 #A5772A #2AA53A #2A57A5
split-complementary
#A52A95 #57A52A #2AA577
monochromatic
#43113D #741E69 #A52A95 #CE3EBB #DA6FCC

Accessibility & contrast

On white

6.24
#A52A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A52A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A95
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A95#FFFFFF#000000##FFFFFF
##A52A951.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52a95;
/* rgb */ color: rgb(165, 42, 149);
/* oklch */ color: oklch(51.7% 0.195 333.9);
Tailwind
colors: {
  custom: {
    50: '#c371b4',
    500: '#a52a95',
    950: '#000000',
  },
}
SCSS
$custom: #a52a95;
$custom-light: #c371b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a95",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 307.805,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.19535,
    "h": 333.9
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#A52A95
secondary
#69C175
accent
#E35A45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52A95

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

Preview Lab → · Contrast checker → · Palette generator →

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