#8720C1#8720C1

#8720C1 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.5% C 0.229 H 308.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8720C1
RGBrgb(135, 32, 193)
HSLhsl(278, 72%, 44%)
HSVhsv(278, 83%, 76%)
CMYKcmyk(30.1%, 83.4%, 0%, 24.3%)
CIE-LABlab(37.90, 65.70, -62.71)
CIE-LCHlch(37.90, 90.82, 316.34°)
OKLaboklab(49.48% 0.1431 -0.1783)
OKLCHoklch(49.48% 0.229 308.7)
XYZxyz(20.1318, 10.0345, 51.3181)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8720C1 #5AC120
analogous
#3620C1 #8720C1 #C120AB
triadic
#8720C1 #C18720 #20C187
tetradic
#8720C1 #C13620 #5AC120 #20ABC1
square
#8720C1 #C13620 #5AC120 #20ABC1
split-complementary
#8720C1 #ABC120 #20C136
monochromatic
#3E0F58 #62178D #8720C1 #A53FDF #BE74E8

Accessibility & contrast

On white

6.98
#8720C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8720C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8720C1
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8720C1#FFFFFF#000000##FFFFFF
##8720C11.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#7E4C74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8720c1;
/* rgb */ color: rgb(135, 32, 193);
/* oklch */ color: oklch(49.5% 0.229 308.7);
Tailwind
colors: {
  custom: {
    50: '#b06bd5',
    500: '#8720c1',
    950: '#000000',
  },
}
SCSS
$custom: #8720c1;
$custom-light: #b06bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8720c1",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 193
  },
  "hsl": {
    "h": 278.385,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49482,
    "c": 0.22864,
    "h": 308.7
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#8720C1
secondary
#91CF6E
accent
#EE3A7B
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8720C1

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

Preview Lab → · Contrast checker → · Palette generator →

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