#8720B2#8720B2

#8720B2 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.3% C 0.216 H 312.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8720B2
RGBrgb(135, 32, 178)
HSLhsl(282, 70%, 41%)
HSVhsv(282, 82%, 70%)
CMYKcmyk(24.2%, 82%, 0%, 30.2%)
CIE-LABlab(36.74, 62.66, -55.74)
CIE-LCHlch(36.74, 83.86, 318.34°)
OKLaboklab(48.31% 0.1469 -0.1579)
OKLCHoklch(48.31% 0.216 312.9)
XYZxyz(18.5426, 9.3989, 42.9482)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8720B2 #4BB220
analogous
#3E20B2 #8720B2 #B22094
triadic
#8720B2 #B28720 #20B287
tetradic
#8720B2 #B23E20 #4BB220 #2094B2
square
#8720B2 #B23E20 #4BB220 #2094B2
split-complementary
#8720B2 #94B220 #20B23E
monochromatic
#380D4A #60177E #8720B2 #AA35DB #C068E4

Accessibility & contrast

On white

7.29
#8720B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8720B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8720B2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8720B2#FFFFFF#000000##FFFFFF
##8720B21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#82456B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8720b2;
/* rgb */ color: rgb(135, 32, 178);
/* oklch */ color: oklch(48.3% 0.216 312.9);
Tailwind
colors: {
  custom: {
    50: '#af6aca',
    500: '#8720b2',
    950: '#000000',
  },
}
SCSS
$custom: #8720b2;
$custom-light: #af6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8720b2",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 178
  },
  "hsl": {
    "h": 282.329,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.21565,
    "h": 312.9
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#8720B2
secondary
#82CA64
accent
#EC3B70
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8720B2

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

Preview Lab → · Contrast checker → · Palette generator →

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