#8721B2#8721B2

#8721B2 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.4% C 0.215 H 312.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8721B2
RGBrgb(135, 33, 178)
HSLhsl(282, 69%, 41%)
HSVhsv(282, 81%, 70%)
CMYKcmyk(24.2%, 81.5%, 0%, 30.2%)
CIE-LABlab(36.84, 62.36, -55.58)
CIE-LCHlch(36.84, 83.53, 318.29°)
OKLaboklab(48.38% 0.1462 -0.1574)
OKLCHoklch(48.38% 0.215 312.9)
XYZxyz(18.5700, 9.4535, 42.9573)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8721B2 #4CB221
analogous
#3F21B2 #8721B2 #B22195
triadic
#8721B2 #B28721 #21B287
tetradic
#8721B2 #B23F21 #4CB221 #2195B2
square
#8721B2 #B23F21 #4CB221 #2195B2
split-complementary
#8721B2 #95B221 #21B23F
monochromatic
#390E4B #60177E #8721B2 #A936DA #BF6AE3

Accessibility & contrast

On white

7.26
#8721B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8721B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8721B2#FFFFFF#000000##FFFFFF
##8721B21.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0259AF
Tritanopia (blue-blind)
#82466B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8721b2;
/* rgb */ color: rgb(135, 33, 178);
/* oklch */ color: oklch(48.4% 0.215 312.9);
Tailwind
colors: {
  custom: {
    50: '#af6aca',
    500: '#8721b2',
    950: '#000000',
  },
}
SCSS
$custom: #8721b2;
$custom-light: #af6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8721b2",
  "rgb": {
    "r": 135,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 282.207,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48381,
    "c": 0.21481,
    "h": 312.9
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#8721B2
secondary
#83C966
accent
#EC3C70
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8721B2

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

Preview Lab → · Contrast checker → · Palette generator →

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