#A32798#A32798

#A32798 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.200 H 332.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A32798
RGBrgb(163, 39, 152)
HSLhsl(305, 61%, 40%)
HSVhsv(305, 76%, 64%)
CMYKcmyk(0%, 76.1%, 6.7%, 36.1%)
CIE-LABlab(40.42, 61.45, -34.00)
CIE-LCHlch(40.42, 70.22, 331.05°)
OKLaboklab(51.28% 0.1763 -0.0935)
OKLCHoklch(51.28% 0.2 332.1)
XYZxyz(21.4973, 11.5064, 30.7884)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A32798 #27A332
analogous
#7027A3 #A32798 #A3275A
triadic
#A32798 #98A327 #2798A3
tetradic
#A32798 #A37027 #27A332 #275AA3
square
#A32798 #A37027 #27A332 #275AA3
split-complementary
#A32798 #5AA327 #27A370
monochromatic
#400F3C #721B6A #A32798 #CF38C2 #DB69D1

Accessibility & contrast

On white

6.36
#A32798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A32798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A32798
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A32798#FFFFFF#000000##FFFFFF
##A327981.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549B
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#AA365E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a32798;
/* rgb */ color: rgb(163, 39, 152);
/* oklch */ color: oklch(51.3% 0.200 332.1);
Tailwind
colors: {
  custom: {
    50: '#c26fb7',
    500: '#a32798',
    950: '#000000',
  },
}
SCSS
$custom: #a32798;
$custom-light: #c26fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a32798",
  "rgb": {
    "r": 163,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 305.323,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.19961,
    "h": 332.1
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A32798

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

Preview Lab → · Contrast checker → · Palette generator →

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