#A32796#A32796

#A32796 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.2% C 0.198 H 332.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A32796
RGBrgb(163, 39, 150)
HSLhsl(306, 61%, 40%)
HSVhsv(306, 76%, 64%)
CMYKcmyk(0%, 76.1%, 8%, 36.1%)
CIE-LABlab(40.31, 61.14, -32.95)
CIE-LCHlch(40.31, 69.45, 331.68°)
OKLaboklab(51.17% 0.1763 -0.0905)
OKLCHoklch(51.17% 0.198 332.8)
XYZxyz(21.3349, 11.4414, 29.9330)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A32796 #27A334
analogous
#7227A3 #A32796 #A32758
triadic
#A32796 #96A327 #2796A3
tetradic
#A32796 #A37227 #27A334 #2758A3
square
#A32796 #A37227 #27A334 #2758A3
split-complementary
#A32796 #58A327 #27A372
monochromatic
#400F3B #721B69 #A32796 #CF38BF #DB69CF

Accessibility & contrast

On white

6.39
#A32796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A32796
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A32796#FFFFFF#000000##FFFFFF
##A327961.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205499
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#AA355D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a32796;
/* rgb */ color: rgb(163, 39, 150);
/* oklch */ color: oklch(51.2% 0.198 332.8);
Tailwind
colors: {
  custom: {
    50: '#c26fb5',
    500: '#a32796',
    950: '#000000',
  },
}
SCSS
$custom: #a32796;
$custom-light: #c26fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a32796",
  "rgb": {
    "r": 163,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 306.29,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.19815,
    "h": 332.8
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#A32796
secondary
#64C16E
accent
#E45443
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A32796

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

Preview Lab → · Contrast checker → · Palette generator →

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