#A32797#A32797

#A32797 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.199 H 332.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A32797
RGBrgb(163, 39, 151)
HSLhsl(306, 61%, 40%)
HSVhsv(306, 76%, 64%)
CMYKcmyk(0%, 76.1%, 7.4%, 36.1%)
CIE-LABlab(40.37, 61.29, -33.47)
CIE-LCHlch(40.37, 69.84, 331.36°)
OKLaboklab(51.23% 0.1763 -0.092)
OKLCHoklch(51.23% 0.199 332.4)
XYZxyz(21.4158, 11.4737, 30.3589)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A32797 #27A333
analogous
#7127A3 #A32797 #A32759
triadic
#A32797 #97A327 #2797A3
tetradic
#A32797 #A37127 #27A333 #2759A3
square
#A32797 #A37127 #27A333 #2759A3
split-complementary
#A32797 #59A327 #27A371
monochromatic
#400F3C #721B69 #A32797 #CF38C1 #DB69D0

Accessibility & contrast

On white

6.37
#A32797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A32797
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A32797#FFFFFF#000000##FFFFFF
##A327971.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#AA355D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a32797;
/* rgb */ color: rgb(163, 39, 151);
/* oklch */ color: oklch(51.2% 0.199 332.4);
Tailwind
colors: {
  custom: {
    50: '#c26fb6',
    500: '#a32797',
    950: '#000000',
  },
}
SCSS
$custom: #a32797;
$custom-light: #c26fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a32797",
  "rgb": {
    "r": 163,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 305.806,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.19887,
    "h": 332.4
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#A32797
secondary
#64C16D
accent
#E45343
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A32797

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

Preview Lab → · Contrast checker → · Palette generator →

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