#A71F93#A71F93

#A71F93 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.206 H 335.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A71F93
RGBrgb(167, 31, 147)
HSLhsl(309, 69%, 39%)
HSVhsv(309, 81%, 65%)
CMYKcmyk(0%, 81.4%, 12%, 34.5%)
CIE-LABlab(40.09, 63.80, -31.44)
CIE-LCHlch(40.09, 71.13, 333.77°)
OKLaboklab(51.09% 0.1867 -0.086)
OKLCHoklch(51.09% 0.206 335.3)
XYZxyz(21.6931, 11.3041, 28.6375)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F93 #1FA733
analogous
#771FA7 #A71F93 #A71F4F
triadic
#A71F93 #93A71F #1F93A7
tetradic
#A71F93 #A7771F #1FA733 #1F4FA7
square
#A71F93 #A7771F #1FA733 #1F4FA7
split-complementary
#A71F93 #4FA71F #1FA777
monochromatic
#400C38 #731566 #A71F93 #D82BBE #E15FCE

Accessibility & contrast

On white

6.44
#A71F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A71F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F93
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F93#FFFFFF#000000##FFFFFF
##A71F931.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5296
Deuteranopia (green-blind)
#536590
Tritanopia (blue-blind)
#B02C59
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71f93;
/* rgb */ color: rgb(167, 31, 147);
/* oklch */ color: oklch(51.1% 0.206 335.3);
Tailwind
colors: {
  custom: {
    50: '#c56db3',
    500: '#a71f93',
    950: '#000000',
  },
}
SCSS
$custom: #a71f93;
$custom-light: #c56db3;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f93",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 308.824,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51092,
    "c": 0.20555,
    "h": 335.3
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#A71F93
secondary
#5CC66C
accent
#EC563C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71F93

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

Preview Lab → · Contrast checker → · Palette generator →

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