#A71E9C#A71E9C

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

Color values

HEX#A71E9C
RGBrgb(167, 30, 156)
HSLhsl(305, 70%, 39%)
HSVhsv(305, 82%, 65%)
CMYKcmyk(0%, 82%, 6.6%, 34.5%)
CIE-LABlab(40.49, 65.38, -36.26)
CIE-LCHlch(40.49, 74.76, 330.98°)
OKLaboklab(51.53% 0.1876 -0.0999)
OKLCHoklch(51.53% 0.213 332)
XYZxyz(22.4014, 11.5463, 32.4949)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E9C #1EA729
analogous
#6D1EA7 #A71E9C #A71E57
triadic
#A71E9C #9CA71E #1E9CA7
tetradic
#A71E9C #A76D1E #1EA729 #1E57A7
square
#A71E9C #A76D1E #1EA729 #1E57A7
split-complementary
#A71E9C #57A71E #1EA76D
monochromatic
#3F0B3B #73156C #A71E9C #D92ACB #E25DD7

Accessibility & contrast

On white

6.35
#A71E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71E9C
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E9C#FFFFFF#000000##FFFFFF
##A71E9C1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E539F
Deuteranopia (green-blind)
#4F6699
Tritanopia (blue-blind)
#AE315E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71e9c;
/* rgb */ color: rgb(167, 30, 156);
/* oklch */ color: oklch(51.5% 0.213 332.0);
Tailwind
colors: {
  custom: {
    50: '#c56dba',
    500: '#a71e9c',
    950: '#000000',
  },
}
SCSS
$custom: #a71e9c;
$custom-light: #c56dba;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e9c",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 304.818,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51532,
    "c": 0.21259,
    "h": 332
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#A71E9C
secondary
#5BC663
accent
#EC4A3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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