#A71E96#A71E96

#A71E96 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.208 H 334.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A71E96
RGBrgb(167, 30, 150)
HSLhsl(307, 70%, 39%)
HSVhsv(307, 82%, 65%)
CMYKcmyk(0%, 82%, 10.2%, 34.5%)
CIE-LABlab(40.16, 64.49, -33.15)
CIE-LCHlch(40.16, 72.51, 332.80°)
OKLaboklab(51.2% 0.1875 -0.0909)
OKLCHoklch(51.2% 0.208 334.1)
XYZxyz(21.9059, 11.3480, 29.8849)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E96 #1EA72F
analogous
#731EA7 #A71E96 #A71E51
triadic
#A71E96 #96A71E #1E96A7
tetradic
#A71E96 #A7731E #1EA72F #1E51A7
square
#A71E96 #A7731E #1EA72F #1E51A7
split-complementary
#A71E96 #51A71E #1EA773
monochromatic
#3F0B39 #731567 #A71E96 #D92AC3 #E25DD2

Accessibility & contrast

On white

6.42
#A71E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A71E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E96
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E96#FFFFFF#000000##FFFFFF
##A71E961.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5299
Deuteranopia (green-blind)
#526593
Tritanopia (blue-blind)
#AF2E5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71e96;
/* rgb */ color: rgb(167, 30, 150);
/* oklch */ color: oklch(51.2% 0.208 334.1);
Tailwind
colors: {
  custom: {
    50: '#c56db5',
    500: '#a71e96',
    950: '#000000',
  },
}
SCSS
$custom: #a71e96;
$custom-light: #c56db5;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e96",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 307.445,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.20842,
    "h": 334.1
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#A71E96
secondary
#5BC668
accent
#EC513B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71E96

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

Preview Lab → · Contrast checker → · Palette generator →

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