#A71998#A71998

#A71998 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.214 H 333.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A71998
RGBrgb(167, 25, 152)
HSLhsl(306, 74%, 38%)
HSVhsv(306, 85%, 65%)
CMYKcmyk(0%, 85%, 9%, 34.5%)
CIE-LABlab(39.88, 65.90, -34.80)
CIE-LCHlch(39.88, 74.53, 332.16°)
OKLaboklab(51.03% 0.1909 -0.0957)
OKLCHoklch(51.03% 0.214 333.4)
XYZxyz(21.9517, 11.1797, 30.7015)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71998 #19A728
analogous
#6F19A7 #A71998 #A71951
triadic
#A71998 #98A719 #1998A7
tetradic
#A71998 #A76F19 #19A728 #1951A7
square
#A71998 #A76F19 #19A728 #1951A7
split-complementary
#A71998 #51A719 #19A76F
monochromatic
#3D0937 #721168 #A71998 #DC21C8 #E655D6

Accessibility & contrast

On white

6.49
#A71998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A71998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71998
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71998#FFFFFF#000000##FFFFFF
##A719981.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519B
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#AF2C5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71998;
/* rgb */ color: rgb(167, 25, 152);
/* oklch */ color: oklch(51.0% 0.214 333.4);
Tailwind
colors: {
  custom: {
    50: '#c56bb7',
    500: '#a71998',
    950: '#000000',
  },
}
SCSS
$custom: #a71998;
$custom-light: #c56bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a71998",
  "rgb": {
    "r": 167,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 306.338,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.21352,
    "h": 333.4
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#A71998
secondary
#53C860
accent
#F14B37
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71998

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

Preview Lab → · Contrast checker → · Palette generator →

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