#A71C9D#A71C9D

#A71C9D is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.215 H 331.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A71C9D
RGBrgb(167, 28, 157)
HSLhsl(304, 71%, 38%)
HSVhsv(304, 83%, 65%)
CMYKcmyk(0%, 83.2%, 6%, 34.5%)
CIE-LABlab(40.38, 66.00, -37.03)
CIE-LCHlch(40.38, 75.68, 330.70°)
OKLaboklab(51.48% 0.189 -0.1022)
OKLCHoklch(51.48% 0.215 331.6)
XYZxyz(22.4375, 11.4822, 32.9263)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C9D #1CA726
analogous
#6C1CA7 #A71C9D #A71C57
triadic
#A71C9D #9DA71C #1C9DA7
tetradic
#A71C9D #A76C1C #1CA726 #1C57A7
square
#A71C9D #A76C1C #1CA726 #1C57A7
split-complementary
#A71C9D #57A71C #1CA76C
monochromatic
#3E0A3A #73136C #A71C9D #DB26CE #E35AD9

Accessibility & contrast

On white

6.37
#A71C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71C9D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C9D#FFFFFF#000000##FFFFFF
##A71C9D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0753A0
Deuteranopia (green-blind)
#4D669A
Tritanopia (blue-blind)
#AE315E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71c9d;
/* rgb */ color: rgb(167, 28, 157);
/* oklch */ color: oklch(51.5% 0.215 331.6);
Tailwind
colors: {
  custom: {
    50: '#c56cba',
    500: '#a71c9d',
    950: '#000000',
  },
}
SCSS
$custom: #a71c9d;
$custom-light: #c56cba;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c9d",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 304.317,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.21482,
    "h": 331.6
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#A71C9D
secondary
#58C760
accent
#EE473A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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