#8721BA#8721BA

#8721BA is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.0% C 0.222 H 310.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8721BA
RGBrgb(135, 33, 186)
HSLhsl(280, 70%, 43%)
HSVhsv(280, 82%, 73%)
CMYKcmyk(27.4%, 82.3%, 0%, 27.1%)
CIE-LABlab(37.45, 63.98, -59.32)
CIE-LCHlch(37.45, 87.25, 317.16°)
OKLaboklab(49% 0.1443 -0.1684)
OKLCHoklch(49% 0.222 310.6)
XYZxyz(19.3967, 9.7842, 47.3116)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8721BA #54BA21
analogous
#3A21BA #8721BA #BA21A0
triadic
#8721BA #BA8721 #21BA87
tetradic
#8721BA #BA3A21 #54BA21 #21A0BA
square
#8721BA #BA3A21 #54BA21 #21A0BA
split-complementary
#8721BA #A0BA21 #21BA3A
monochromatic
#3C0F52 #611886 #8721BA #A73CDC #BE70E6

Accessibility & contrast

On white

7.10
#8721BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8721BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8721BA#FFFFFF#000000##FFFFFF
##8721BA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#804A70
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8721ba;
/* rgb */ color: rgb(135, 33, 186);
/* oklch */ color: oklch(49.0% 0.222 310.6);
Tailwind
colors: {
  custom: {
    50: '#af6bd0',
    500: '#8721ba',
    950: '#000000',
  },
}
SCSS
$custom: #8721ba;
$custom-light: #af6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8721ba",
  "rgb": {
    "r": 135,
    "g": 33,
    "b": 186
  },
  "hsl": {
    "h": 280,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48997,
    "c": 0.22176,
    "h": 310.6
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#8721BA
secondary
#8BCC6B
accent
#ED3B76
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8721BA

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

Preview Lab → · Contrast checker → · Palette generator →

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