#8721AA#8721AA

#8721AA is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.8% C 0.208 H 315.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8721AA
RGBrgb(135, 33, 170)
HSLhsl(285, 67%, 40%)
HSVhsv(285, 81%, 67%)
CMYKcmyk(20.6%, 80.6%, 0%, 33.3%)
CIE-LABlab(36.26, 60.77, -51.76)
CIE-LCHlch(36.26, 79.83, 319.58°)
OKLaboklab(47.78% 0.1479 -0.1462)
OKLCHoklch(47.78% 0.208 315.3)
XYZxyz(17.7900, 9.1416, 38.8498)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8721AA #44AA21
analogous
#4321AA #8721AA #AA2188
triadic
#8721AA #AA8721 #21AA87
tetradic
#8721AA #AA4321 #44AA21 #2188AA
square
#8721AA #AA4321 #44AA21 #2188AA
split-complementary
#8721AA #88AA21 #21AA43
monochromatic
#360D43 #5E1777 #8721AA #AD31D7 #C164E1

Accessibility & contrast

On white

7.43
#8721AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8721AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8721AA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8721AA#FFFFFF#000000##FFFFFF
##8721AA1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#1A58A7
Tritanopia (blue-blind)
#844266
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8721aa;
/* rgb */ color: rgb(135, 33, 170);
/* oklch */ color: oklch(47.8% 0.208 315.3);
Tailwind
colors: {
  custom: {
    50: '#ae6ac4',
    500: '#8721aa',
    950: '#000000',
  },
}
SCSS
$custom: #8721aa;
$custom-light: #ae6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8721aa",
  "rgb": {
    "r": 135,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 284.672,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47784,
    "c": 0.2079,
    "h": 315.3
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#8721AA
secondary
#7BC661
accent
#EA3D6A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8721AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8721AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva