#8720A7#8720A7

#8720A7 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.5% C 0.206 H 316.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8720A7
RGBrgb(135, 32, 167)
HSLhsl(286, 68%, 39%)
HSVhsv(286, 81%, 65%)
CMYKcmyk(19.2%, 80.8%, 0%, 34.5%)
CIE-LABlab(35.94, 60.49, -50.48)
CIE-LCHlch(35.94, 78.79, 320.16°)
OKLaboklab(47.49% 0.1492 -0.1424)
OKLCHoklch(47.49% 0.206 316.3)
XYZxyz(17.4822, 8.9747, 37.3631)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8720A7 #40A720
analogous
#4420A7 #8720A7 #A72084
triadic
#8720A7 #A78720 #20A787
tetradic
#8720A7 #A74420 #40A720 #2084A7
square
#8720A7 #A74420 #40A720 #2084A7
split-complementary
#8720A7 #84A720 #20A744
monochromatic
#340C40 #5D1674 #8720A7 #AF2DD7 #C261E1

Accessibility & contrast

On white

7.51
#8720A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8720A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8720A7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8720A7#FFFFFF#000000##FFFFFF
##8720A71.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#1E57A4
Tritanopia (blue-blind)
#854064
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8720a7;
/* rgb */ color: rgb(135, 32, 167);
/* oklch */ color: oklch(47.5% 0.206 316.3);
Tailwind
colors: {
  custom: {
    50: '#ae69c2',
    500: '#8720a7',
    950: '#000000',
  },
}
SCSS
$custom: #8720a7;
$custom-light: #ae69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8720a7",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 285.778,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.20623,
    "h": 316.3
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#8720A7
secondary
#76C55D
accent
#EB3D66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8720A7

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

Preview Lab → · Contrast checker → · Palette generator →

#8720A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva