#A52496#A52496

#A52496 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.202 H 333.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A52496
RGBrgb(165, 36, 150)
HSLhsl(307, 64%, 39%)
HSVhsv(307, 78%, 65%)
CMYKcmyk(0%, 78.2%, 9.1%, 35.3%)
CIE-LABlab(40.35, 62.47, -32.87)
CIE-LCHlch(40.35, 70.59, 332.25°)
OKLaboklab(51.27% 0.1809 -0.0902)
OKLCHoklch(51.27% 0.202 333.5)
XYZxyz(21.6531, 11.4650, 29.9208)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52496 #24A533
analogous
#7424A5 #A52496 #A52455
triadic
#A52496 #96A524 #2496A5
tetradic
#A52496 #A57424 #24A533 #2455A5
square
#A52496 #A57424 #24A533 #2455A5
split-complementary
#A52496 #55A524 #24A574
monochromatic
#410E3B #731968 #A52496 #D334C0 #DE66D0

Accessibility & contrast

On white

6.38
#A52496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A52496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52496
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52496#FFFFFF#000000##FFFFFF
##A524961.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5399
Deuteranopia (green-blind)
#526693
Tritanopia (blue-blind)
#AD325C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52496;
/* rgb */ color: rgb(165, 36, 150);
/* oklch */ color: oklch(51.3% 0.202 333.5);
Tailwind
colors: {
  custom: {
    50: '#c46eb5',
    500: '#a52496',
    950: '#000000',
  },
}
SCSS
$custom: #a52496;
$custom-light: #c46eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52496",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 306.977,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.20215,
    "h": 333.5
  },
  "luminance": 0.11463
}

Semantic roles & 50–950 ramp

primary
#A52496
secondary
#62C36D
accent
#E75441
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52496

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

Preview Lab → · Contrast checker → · Palette generator →

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