#A32197#A32197

#A32197 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.205 H 332.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A32197
RGBrgb(163, 33, 151)
HSLhsl(306, 66%, 38%)
HSVhsv(306, 80%, 64%)
CMYKcmyk(0%, 79.8%, 7.4%, 36.1%)
CIE-LABlab(39.77, 63.02, -34.42)
CIE-LCHlch(39.77, 71.81, 331.36°)
OKLaboklab(50.8% 0.1814 -0.0947)
OKLCHoklch(50.8% 0.205 332.4)
XYZxyz(21.2341, 11.1104, 30.2983)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A32197 #21A32D
analogous
#6E21A3 #A32197 #A32156
triadic
#A32197 #97A321 #2197A3
tetradic
#A32197 #A36E21 #21A32D #2156A3
square
#A32197 #A36E21 #21A32D #2156A3
split-complementary
#A32197 #56A321 #21A36E
monochromatic
#3D0C39 #701768 #A32197 #D42DC5 #DF60D3

Accessibility & contrast

On white

6.52
#A32197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A32197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A32197
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A32197#FFFFFF#000000##FFFFFF
##A321971.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#AA315C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a32197;
/* rgb */ color: rgb(163, 33, 151);
/* oklch */ color: oklch(50.8% 0.205 332.4);
Tailwind
colors: {
  custom: {
    50: '#c26db6',
    500: '#a32197',
    950: '#000000',
  },
}
SCSS
$custom: #a32197;
$custom-light: #c26db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a32197",
  "rgb": {
    "r": 163,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 305.538,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50797,
    "c": 0.20461,
    "h": 332.4
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#A32197
secondary
#5CC366
accent
#E94E3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A32197

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

Preview Lab → · Contrast checker → · Palette generator →

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