#8721B3#8721B3

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

Color values

HEX#8721B3
RGBrgb(135, 33, 179)
HSLhsl(282, 69%, 42%)
HSVhsv(282, 82%, 70%)
CMYKcmyk(24.6%, 81.6%, 0%, 29.8%)
CIE-LABlab(36.92, 62.56, -56.05)
CIE-LCHlch(36.92, 84.00, 318.14°)
OKLaboklab(48.46% 0.146 -0.1588)
OKLCHoklch(48.46% 0.216 312.6)
XYZxyz(18.6707, 9.4938, 43.4881)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8721B3 #4DB321
analogous
#3E21B3 #8721B3 #B32196
triadic
#8721B3 #B38721 #21B387
tetradic
#8721B3 #B33E21 #4DB321 #2196B3
square
#8721B3 #B33E21 #4DB321 #2196B3
split-complementary
#8721B3 #96B321 #21B33E
monochromatic
#390E4C #60177F #8721B3 #A937DA #BF6BE4

Accessibility & contrast

On white

7.24
#8721B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8721B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8721B3#FFFFFF#000000##FFFFFF
##8721B31.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#82466C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8721b3;
/* rgb */ color: rgb(135, 33, 179);
/* oklch */ color: oklch(48.5% 0.216 312.6);
Tailwind
colors: {
  custom: {
    50: '#af6acb',
    500: '#8721b3',
    950: '#000000',
  },
}
SCSS
$custom: #8721b3;
$custom-light: #af6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8721b3",
  "rgb": {
    "r": 135,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 281.918,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48457,
    "c": 0.21567,
    "h": 312.6
  },
  "luminance": 0.09493
}

Semantic roles & 50–950 ramp

primary
#8721B3
secondary
#84CA66
accent
#EC3C71
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8721B3

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

Preview Lab → · Contrast checker → · Palette generator →

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