#A52A96#A52A96

#A52A96 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.196 H 333.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A52A96
RGBrgb(165, 42, 150)
HSLhsl(307, 59%, 41%)
HSVhsv(307, 75%, 65%)
CMYKcmyk(0%, 74.5%, 9.1%, 35.3%)
CIE-LABlab(40.99, 60.64, -31.86)
CIE-LCHlch(40.99, 68.50, 332.28°)
OKLaboklab(51.72% 0.1755 -0.0874)
OKLCHoklch(51.72% 0.196 333.5)
XYZxyz(21.8502, 11.8591, 29.9865)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A96 #2AA539
analogous
#762AA5 #A52A96 #A52A58
triadic
#A52A96 #96A52A #2A96A5
tetradic
#A52A96 #A5762A #2AA539 #2A58A5
square
#A52A96 #A5762A #2AA539 #2A58A5
split-complementary
#A52A96 #58A52A #2AA576
monochromatic
#43113D #741E6A #A52A96 #CE3EBC #DA6FCD

Accessibility & contrast

On white

6.23
#A52A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52A96
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A96#FFFFFF#000000##FFFFFF
##A52A961.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52a96;
/* rgb */ color: rgb(165, 42, 150);
/* oklch */ color: oklch(51.7% 0.196 333.5);
Tailwind
colors: {
  custom: {
    50: '#c371b5',
    500: '#a52a96',
    950: '#000000',
  },
}
SCSS
$custom: #a52a96;
$custom-light: #c371b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a96",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 307.317,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.19607,
    "h": 333.5
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#A52A96
secondary
#69C174
accent
#E35845
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52A96

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

Preview Lab → · Contrast checker → · Palette generator →

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