#A32F98#A32F98

#A32F98 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.191 H 332.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A32F98
RGBrgb(163, 47, 152)
HSLhsl(306, 55%, 41%)
HSVhsv(306, 71%, 64%)
CMYKcmyk(0%, 71.2%, 6.7%, 36.1%)
CIE-LABlab(41.36, 58.78, -32.52)
CIE-LCHlch(41.36, 67.18, 331.05°)
OKLaboklab(51.96% 0.1686 -0.0893)
OKLCHoklch(51.96% 0.191 332.1)
XYZxyz(21.7883, 12.0883, 30.8854)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A32F98 #2FA33A
analogous
#742FA3 #A32F98 #A32F5E
triadic
#A32F98 #98A32F #2F98A3
tetradic
#A32F98 #A3742F #2FA33A #2F5EA3
square
#A32F98 #A3742F #2FA33A #2F5EA3
split-complementary
#A32F98 #5EA32F #2FA374
monochromatic
#44143F #73216C #A32F98 #CA46BD #D775CE

Accessibility & contrast

On white

6.15
#A32F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A32F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A32F98
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A32F98#FFFFFF#000000##FFFFFF
##A32F981.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#AA3B60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a32f98;
/* rgb */ color: rgb(163, 47, 152);
/* oklch */ color: oklch(52.0% 0.191 332.1);
Tailwind
colors: {
  custom: {
    50: '#c272b6',
    500: '#a32f98',
    950: '#000000',
  },
}
SCSS
$custom: #a32f98;
$custom-light: #c272b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a32f98",
  "rgb": {
    "r": 163,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 305.69,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.1908,
    "h": 332.1
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#A32F98
secondary
#6FBF76
accent
#DF5749
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A32F98

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

Preview Lab → · Contrast checker → · Palette generator →

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