#8720B4#8720B4

#8720B4 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.5% C 0.217 H 312.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8720B4
RGBrgb(135, 32, 180)
HSLhsl(282, 70%, 42%)
HSVhsv(282, 82%, 71%)
CMYKcmyk(25%, 82.2%, 0%, 29.4%)
CIE-LABlab(36.89, 63.06, -56.69)
CIE-LCHlch(36.89, 84.79, 318.05°)
OKLaboklab(48.46% 0.1465 -0.1606)
OKLCHoklch(48.46% 0.217 312.4)
XYZxyz(18.7449, 9.4798, 44.0135)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8720B4 #4DB420
analogous
#3D20B4 #8720B4 #B42097
triadic
#8720B4 #B48720 #20B487
tetradic
#8720B4 #B43D20 #4DB420 #2097B4
square
#8720B4 #B43D20 #4DB420 #2097B4
split-complementary
#8720B4 #97B420 #20B43D
monochromatic
#390E4C #601780 #8720B4 #A936DB #BF6AE4

Accessibility & contrast

On white

7.25
#8720B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8720B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8720B4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8720B4#FFFFFF#000000##FFFFFF
##8720B41.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8720b4;
/* rgb */ color: rgb(135, 32, 180);
/* oklch */ color: oklch(48.5% 0.217 312.4);
Tailwind
colors: {
  custom: {
    50: '#af6acb',
    500: '#8720b4',
    950: '#000000',
  },
}
SCSS
$custom: #8720b4;
$custom-light: #af6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8720b4",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 281.757,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48462,
    "c": 0.21738,
    "h": 312.4
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#8720B4
secondary
#84CA66
accent
#ED3B71
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8720B4

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

Preview Lab → · Contrast checker → · Palette generator →

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