#8721B4#8721B4

#8721B4 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.5% C 0.217 H 312.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8721B4
RGBrgb(135, 33, 180)
HSLhsl(282, 69%, 42%)
HSVhsv(282, 82%, 71%)
CMYKcmyk(25%, 81.7%, 0%, 29.4%)
CIE-LABlab(36.99, 62.76, -56.52)
CIE-LCHlch(36.99, 84.46, 317.99°)
OKLaboklab(48.53% 0.1458 -0.1601)
OKLCHoklch(48.53% 0.217 312.3)
XYZxyz(18.7722, 9.5344, 44.0226)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8721B4 #4EB421
analogous
#3E21B4 #8721B4 #B42198
triadic
#8721B4 #B48721 #21B487
tetradic
#8721B4 #B43E21 #4EB421 #2198B4
square
#8721B4 #B43E21 #4EB421 #2198B4
split-complementary
#8721B4 #98B421 #21B43E
monochromatic
#390E4D #601880 #8721B4 #A938DA #BF6BE4

Accessibility & contrast

On white

7.22
#8721B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8721B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8721B4#FFFFFF#000000##FFFFFF
##8721B41.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#82476C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8721b4;
/* rgb */ color: rgb(135, 33, 180);
/* oklch */ color: oklch(48.5% 0.217 312.3);
Tailwind
colors: {
  custom: {
    50: '#af6acb',
    500: '#8721b4',
    950: '#000000',
  },
}
SCSS
$custom: #8721b4;
$custom-light: #af6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8721b4",
  "rgb": {
    "r": 135,
    "g": 33,
    "b": 180
  },
  "hsl": {
    "h": 281.633,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48533,
    "c": 0.21654,
    "h": 312.3
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#8721B4
secondary
#85CA67
accent
#EC3C72
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8721B4

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

Preview Lab → · Contrast checker → · Palette generator →

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