#A71E9F#A71E9F

#A71E9F is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.215 H 330.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A71E9F
RGBrgb(167, 30, 159)
HSLhsl(304, 70%, 39%)
HSVhsv(304, 82%, 65%)
CMYKcmyk(0%, 82%, 4.8%, 34.5%)
CIE-LABlab(40.65, 65.83, -37.81)
CIE-LCHlch(40.65, 75.92, 330.13°)
OKLaboklab(51.71% 0.1876 -0.1044)
OKLCHoklch(51.71% 0.215 330.9)
XYZxyz(22.6586, 11.6491, 33.8493)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E9F #1EA726
analogous
#6A1EA7 #A71E9F #A71E5A
triadic
#A71E9F #9FA71E #1E9FA7
tetradic
#A71E9F #A76A1E #1EA726 #1E5AA7
square
#A71E9F #A76A1E #1EA726 #1E5AA7
split-complementary
#A71E9F #5AA71E #1EA76A
monochromatic
#3F0B3C #73156E #A71E9F #D92ACE #E25DDA

Accessibility & contrast

On white

6.31
#A71E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A71E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E9F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E9F#FFFFFF#000000##FFFFFF
##A71E9F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0554A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#AE3360
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71e9f;
/* rgb */ color: rgb(167, 30, 159);
/* oklch */ color: oklch(51.7% 0.215 330.9);
Tailwind
colors: {
  custom: {
    50: '#c56dbc',
    500: '#a71e9f',
    950: '#000000',
  },
}
SCSS
$custom: #a71e9f;
$custom-light: #c56dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e9f",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 303.504,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.21471,
    "h": 330.9
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#A71E9F
secondary
#5BC661
accent
#EC463B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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