#A32898#A32898

#A32898 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.199 H 332.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A32898
RGBrgb(163, 40, 152)
HSLhsl(305, 61%, 40%)
HSVhsv(305, 75%, 64%)
CMYKcmyk(0%, 75.5%, 6.7%, 36.1%)
CIE-LABlab(40.53, 61.14, -33.82)
CIE-LCHlch(40.53, 69.87, 331.05°)
OKLaboklab(51.36% 0.1754 -0.093)
OKLCHoklch(51.36% 0.199 332.1)
XYZxyz(21.5306, 11.5729, 30.7995)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A32898 #28A333
analogous
#7128A3 #A32898 #A3285A
triadic
#A32898 #98A328 #2898A3
tetradic
#A32898 #A37128 #28A333 #285AA3
square
#A32898 #A37128 #28A333 #285AA3
split-complementary
#A32898 #5AA328 #28A371
monochromatic
#41103C #721C6A #A32898 #CF3AC1 #DB6BD1

Accessibility & contrast

On white

6.34
#A32898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A32898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A32898
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A32898#FFFFFF#000000##FFFFFF
##A328981.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559B
Deuteranopia (green-blind)
#506695
Tritanopia (blue-blind)
#AA365E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a32898;
/* rgb */ color: rgb(163, 40, 152);
/* oklch */ color: oklch(51.4% 0.199 332.1);
Tailwind
colors: {
  custom: {
    50: '#c270b7',
    500: '#a32898',
    950: '#000000',
  },
}
SCSS
$custom: #a32898;
$custom-light: #c270b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a32898",
  "rgb": {
    "r": 163,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 305.366,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.19859,
    "h": 332.1
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#A32898
secondary
#66C16E
accent
#E45244
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A32898

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

Preview Lab → · Contrast checker → · Palette generator →

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