#A52096#A52096

#A52096 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.206 H 333.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A52096
RGBrgb(165, 32, 150)
HSLhsl(307, 68%, 39%)
HSVhsv(307, 81%, 65%)
CMYKcmyk(0%, 80.6%, 9.1%, 35.3%)
CIE-LABlab(39.98, 63.56, -33.46)
CIE-LCHlch(39.98, 71.83, 332.23°)
OKLaboklab(51% 0.1841 -0.0919)
OKLCHoklch(51% 0.206 333.5)
XYZxyz(21.5388, 11.2363, 29.8827)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52096 #20A52F
analogous
#7120A5 #A52096 #A52053
triadic
#A52096 #96A520 #2096A5
tetradic
#A52096 #A57120 #20A52F #2053A5
square
#A52096 #A57120 #20A52F #2053A5
split-complementary
#A52096 #53A520 #20A571
monochromatic
#3E0C39 #721667 #A52096 #D62CC3 #E05FD2

Accessibility & contrast

On white

6.47
#A52096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A52096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52096
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52096#FFFFFF#000000##FFFFFF
##A520961.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195299
Deuteranopia (green-blind)
#506593
Tritanopia (blue-blind)
#AD2F5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52096;
/* rgb */ color: rgb(165, 32, 150);
/* oklch */ color: oklch(51.0% 0.206 333.5);
Tailwind
colors: {
  custom: {
    50: '#c46db5',
    500: '#a52096',
    950: '#000000',
  },
}
SCSS
$custom: #a52096;
$custom-light: #c46db5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52096",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 306.767,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50996,
    "c": 0.20576,
    "h": 333.5
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#A52096
secondary
#5CC568
accent
#EA513D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52096

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

Preview Lab → · Contrast checker → · Palette generator →

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