#8720B3#8720B3

#8720B3 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.4% C 0.217 H 312.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8720B3
RGBrgb(135, 32, 179)
HSLhsl(282, 70%, 41%)
HSVhsv(282, 82%, 70%)
CMYKcmyk(24.6%, 82.1%, 0%, 29.8%)
CIE-LABlab(36.82, 62.86, -56.21)
CIE-LCHlch(36.82, 84.33, 318.19°)
OKLaboklab(48.39% 0.1467 -0.1592)
OKLCHoklch(48.39% 0.217 312.7)
XYZxyz(18.6434, 9.4392, 43.4789)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8720B3 #4CB320
analogous
#3E20B3 #8720B3 #B32096
triadic
#8720B3 #B38720 #20B387
tetradic
#8720B3 #B33E20 #4CB320 #2096B3
square
#8720B3 #B33E20 #4CB320 #2096B3
split-complementary
#8720B3 #96B320 #20B33E
monochromatic
#390D4B #60177F #8720B3 #A935DB #BF69E4

Accessibility & contrast

On white

7.27
#8720B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8720B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8720B3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8720B3#FFFFFF#000000##FFFFFF
##8720B31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8720b3;
/* rgb */ color: rgb(135, 32, 179);
/* oklch */ color: oklch(48.4% 0.217 312.7);
Tailwind
colors: {
  custom: {
    50: '#af6acb',
    500: '#8720b3',
    950: '#000000',
  },
}
SCSS
$custom: #8720b3;
$custom-light: #af6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8720b3",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 282.041,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48386,
    "c": 0.21651,
    "h": 312.7
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#8720B3
secondary
#83CA65
accent
#EC3B70
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8720B3

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

Preview Lab → · Contrast checker → · Palette generator →

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