#A71E9D#A71E9D

#A71E9D is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.213 H 331.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A71E9D
RGBrgb(167, 30, 157)
HSLhsl(304, 70%, 39%)
HSVhsv(304, 82%, 65%)
CMYKcmyk(0%, 82%, 6%, 34.5%)
CIE-LABlab(40.54, 65.53, -36.78)
CIE-LCHlch(40.54, 75.15, 330.70°)
OKLaboklab(51.59% 0.1876 -0.1014)
OKLCHoklch(51.59% 0.213 331.6)
XYZxyz(22.4865, 11.5803, 32.9427)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E9D #1EA728
analogous
#6C1EA7 #A71E9D #A71E58
triadic
#A71E9D #9DA71E #1E9DA7
tetradic
#A71E9D #A76C1E #1EA728 #1E58A7
square
#A71E9D #A76C1E #1EA728 #1E58A7
split-complementary
#A71E9D #58A71E #1EA76C
monochromatic
#3F0B3B #73156C #A71E9D #D92ACC #E25DD8

Accessibility & contrast

On white

6.33
#A71E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A71E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E9D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E9D#FFFFFF#000000##FFFFFF
##A71E9D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B54A0
Deuteranopia (green-blind)
#4E669A
Tritanopia (blue-blind)
#AE325F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71e9d;
/* rgb */ color: rgb(167, 30, 157);
/* oklch */ color: oklch(51.6% 0.213 331.6);
Tailwind
colors: {
  custom: {
    50: '#c56dba',
    500: '#a71e9d',
    950: '#000000',
  },
}
SCSS
$custom: #a71e9d;
$custom-light: #c56dba;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e9d",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 304.38,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.2133,
    "h": 331.6
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#A71E9D
secondary
#5BC662
accent
#EC483B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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