#A71E9B#A71E9B

#A71E9B is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.212 H 332.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A71E9B
RGBrgb(167, 30, 155)
HSLhsl(305, 70%, 39%)
HSVhsv(305, 82%, 65%)
CMYKcmyk(0%, 82%, 7.2%, 34.5%)
CIE-LABlab(40.43, 65.23, -35.75)
CIE-LCHlch(40.43, 74.38, 331.28°)
OKLaboklab(51.48% 0.1876 -0.0984)
OKLCHoklch(51.48% 0.212 332.3)
XYZxyz(22.3171, 11.5125, 32.0508)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E9B #1EA72A
analogous
#6E1EA7 #A71E9B #A71E57
triadic
#A71E9B #9BA71E #1E9BA7
tetradic
#A71E9B #A76E1E #1EA72A #1E57A7
square
#A71E9B #A76E1E #1EA72A #1E57A7
split-complementary
#A71E9B #57A71E #1EA76E
monochromatic
#3F0B3B #73156B #A71E9B #D92AC9 #E25DD6

Accessibility & contrast

On white

6.36
#A71E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71E9B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E9B#FFFFFF#000000##FFFFFF
##A71E9B1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539E
Deuteranopia (green-blind)
#4F6698
Tritanopia (blue-blind)
#AE315D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71e9b;
/* rgb */ color: rgb(167, 30, 155);
/* oklch */ color: oklch(51.5% 0.212 332.3);
Tailwind
colors: {
  custom: {
    50: '#c56db9',
    500: '#a71e9b',
    950: '#000000',
  },
}
SCSS
$custom: #a71e9b;
$custom-light: #c56db9;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e9b",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 305.255,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.21188,
    "h": 332.3
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#A71E9B
secondary
#5BC664
accent
#EC4B3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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