#A71E9A#A71E9A

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

Color values

HEX#A71E9A
RGBrgb(167, 30, 154)
HSLhsl(306, 70%, 39%)
HSVhsv(306, 82%, 65%)
CMYKcmyk(0%, 82%, 7.8%, 34.5%)
CIE-LABlab(40.38, 65.08, -35.23)
CIE-LCHlch(40.38, 74.00, 331.57°)
OKLaboklab(51.42% 0.1876 -0.097)
OKLCHoklch(51.42% 0.211 332.7)
XYZxyz(22.2335, 11.4791, 31.6103)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E9A #1EA72B
analogous
#6F1EA7 #A71E9A #A71E56
triadic
#A71E9A #9AA71E #1E9AA7
tetradic
#A71E9A #A76F1E #1EA72B #1E56A7
square
#A71E9A #A76F1E #1EA72B #1E56A7
split-complementary
#A71E9A #56A71E #1EA76F
monochromatic
#3F0B3A #73156A #A71E9A #D92AC8 #E25DD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71E9A#FFFFFF#000000##FFFFFF
##A71E9A1.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)
#13539D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#AF305D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71e9a;
/* rgb */ color: rgb(167, 30, 154);
/* oklch */ color: oklch(51.4% 0.211 332.7);
Tailwind
colors: {
  custom: {
    50: '#c56db8',
    500: '#a71e9a',
    950: '#000000',
  },
}
SCSS
$custom: #a71e9a;
$custom-light: #c56db8;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e9a",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 305.693,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.21119,
    "h": 332.7
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#A71E9A
secondary
#5BC665
accent
#EC4C3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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