#A32198#A32198

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

Color values

HEX#A32198
RGBrgb(163, 33, 152)
HSLhsl(305, 66%, 38%)
HSVhsv(305, 80%, 64%)
CMYKcmyk(0%, 79.8%, 6.7%, 36.1%)
CIE-LABlab(39.82, 63.17, -34.94)
CIE-LCHlch(39.82, 72.19, 331.05°)
OKLaboklab(50.85% 0.1814 -0.0962)
OKLCHoklch(50.85% 0.205 332)
XYZxyz(21.3157, 11.1431, 30.7279)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A32198 #21A32C
analogous
#6D21A3 #A32198 #A32157
triadic
#A32198 #98A321 #2198A3
tetradic
#A32198 #A36D21 #21A32C #2157A3
square
#A32198 #A36D21 #21A32C #2157A3
split-complementary
#A32198 #57A321 #21A36D
monochromatic
#3D0C39 #701769 #A32198 #D42DC6 #DF60D4

Accessibility & contrast

On white

6.51
#A32198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A32198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A32198
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A32198#FFFFFF#000000##FFFFFF
##A321981.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#AA325C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a32198;
/* rgb */ color: rgb(163, 33, 152);
/* oklch */ color: oklch(50.9% 0.205 332.0);
Tailwind
colors: {
  custom: {
    50: '#c26db7',
    500: '#a32198',
    950: '#000000',
  },
}
SCSS
$custom: #a32198;
$custom-light: #c26db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a32198",
  "rgb": {
    "r": 163,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 305.077,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.20531,
    "h": 332
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#A32198
secondary
#5CC365
accent
#E94D3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A32198

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

Preview Lab → · Contrast checker → · Palette generator →

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