#A71C9E#A71C9E

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

Color values

HEX#A71C9E
RGBrgb(167, 28, 158)
HSLhsl(304, 71%, 38%)
HSVhsv(304, 83%, 65%)
CMYKcmyk(0%, 83.2%, 5.4%, 34.5%)
CIE-LABlab(40.44, 66.15, -37.55)
CIE-LCHlch(40.44, 76.06, 330.42°)
OKLaboklab(51.53% 0.189 -0.1037)
OKLCHoklch(51.53% 0.216 331.3)
XYZxyz(22.5232, 11.5165, 33.3778)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C9E #1CA725
analogous
#6A1CA7 #A71C9E #A71C58
triadic
#A71C9E #9EA71C #1C9EA7
tetradic
#A71C9E #A76A1C #1CA725 #1C58A7
square
#A71C9E #A76A1C #1CA725 #1C58A7
split-complementary
#A71C9E #58A71C #1CA76A
monochromatic
#3E0A3B #73136C #A71C9E #DB26CF #E35ADA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71C9E#FFFFFF#000000##FFFFFF
##A71C9E1.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)
#0353A1
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#AE315F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71c9e;
/* rgb */ color: rgb(167, 28, 158);
/* oklch */ color: oklch(51.5% 0.216 331.3);
Tailwind
colors: {
  custom: {
    50: '#c56cbb',
    500: '#a71c9e',
    950: '#000000',
  },
}
SCSS
$custom: #a71c9e;
$custom-light: #c56cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c9e",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 303.885,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.21553,
    "h": 331.3
  },
  "luminance": 0.11515
}

Semantic roles & 50–950 ramp

primary
#A71C9E
secondary
#58C75F
accent
#EE453A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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