#8747CE#8747CE

#8747CE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.200 H 301.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8747CE
RGBrgb(135, 71, 206)
HSLhsl(268, 58%, 54%)
HSVhsv(268, 66%, 81%)
CMYKcmyk(34.5%, 65.5%, 0%, 19.2%)
CIE-LABlab(44.40, 52.97, -59.72)
CIE-LCHlch(44.40, 79.83, 311.57°)
OKLaboklab(54.38% 0.1055 -0.1698)
OKLCHoklch(54.38% 0.2 301.9)
XYZxyz(23.3828, 14.1135, 59.8728)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747CE #8ECE47
analogous
#474BCE #8747CE #CA47CE
triadic
#8747CE #CE8747 #47CE87
tetradic
#8747CE #CE474B #8ECE47 #47CECA
square
#8747CE #CE474B #8ECE47 #47CECA
split-complementary
#8747CE #CECA47 #4BCE47
monochromatic
#4B217A #692DAA #8747CE #A777DB #C6A8E8

Accessibility & contrast

On white

5.49
#8747CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8747CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747CE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747CE#FFFFFF#000000##FFFFFF
##8747CE1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0868CB
Tritanopia (blue-blind)
#786584
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8747ce;
/* rgb */ color: rgb(135, 71, 206);
/* oklch */ color: oklch(54.4% 0.200 301.9);
Tailwind
colors: {
  custom: {
    50: '#af7ede',
    500: '#8747ce',
    950: '#000000',
  },
}
SCSS
$custom: #8747ce;
$custom-light: #af7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8747ce",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 268.444,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54377,
    "c": 0.1999,
    "h": 301.9
  },
  "luminance": 0.14114
}

Semantic roles & 50–950 ramp

primary
#8747CE
secondary
#BAD59C
accent
#E14798
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8747CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8747CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva