#A71E98#A71E98

#A71E98 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.210 H 333.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A71E98
RGBrgb(167, 30, 152)
HSLhsl(307, 70%, 39%)
HSVhsv(307, 82%, 65%)
CMYKcmyk(0%, 82%, 9%, 34.5%)
CIE-LABlab(40.27, 64.78, -34.19)
CIE-LCHlch(40.27, 73.25, 332.18°)
OKLaboklab(51.31% 0.1876 -0.094)
OKLCHoklch(51.31% 0.21 333.4)
XYZxyz(22.0683, 11.4130, 30.7403)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E98 #1EA72D
analogous
#711EA7 #A71E98 #A71E53
triadic
#A71E98 #98A71E #1E98A7
tetradic
#A71E98 #A7711E #1EA72D #1E53A7
square
#A71E98 #A7711E #1EA72D #1E53A7
split-complementary
#A71E98 #53A71E #1EA771
monochromatic
#3F0B3A #731569 #A71E98 #D92AC5 #E25DD3

Accessibility & contrast

On white

6.40
#A71E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A71E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E98
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E98#FFFFFF#000000##FFFFFF
##A71E981.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#AF2F5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71e98;
/* rgb */ color: rgb(167, 30, 152);
/* oklch */ color: oklch(51.3% 0.210 333.4);
Tailwind
colors: {
  custom: {
    50: '#c56db7',
    500: '#a71e98',
    950: '#000000',
  },
}
SCSS
$custom: #a71e98;
$custom-light: #c56db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e98",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 306.569,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51306,
    "c": 0.20979,
    "h": 333.4
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#A71E98
secondary
#5BC666
accent
#EC4F3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71E98

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

Preview Lab → · Contrast checker → · Palette generator →

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