#8747E6#8747E6

#8747E6 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.226 H 296.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8747E6
RGBrgb(135, 71, 230)
HSLhsl(264, 76%, 59%)
HSVhsv(264, 69%, 90%)
CMYKcmyk(41.3%, 69.1%, 0%, 9.8%)
CIE-LABlab(46.14, 58.91, -70.60)
CIE-LCHlch(46.14, 91.95, 309.84°)
OKLaboklab(56.17% 0.1022 -0.2018)
OKLCHoklch(56.17% 0.226 296.9)
XYZxyz(26.5241, 15.3700, 76.4168)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747E6 #A6E647
analogous
#4757E6 #8747E6 #D747E6
triadic
#8747E6 #E68747 #47E687
tetradic
#8747E6 #E64757 #A6E647 #47E6D7
square
#8747E6 #E64757 #A6E647 #47E6D7
split-complementary
#8747E6 #E6D747 #57E647
monochromatic
#4C159D #661DD3 #8747E6 #AA7DED #CDB3F5

Accessibility & contrast

On white

5.15
#8747E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8747E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747E6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747E6#FFFFFF#000000##FFFFFF
##8747E61.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#6F6E91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8747e6;
/* rgb */ color: rgb(135, 71, 230);
/* oklch */ color: oklch(56.2% 0.226 296.9);
Tailwind
colors: {
  custom: {
    50: '#b17fef',
    500: '#8747e6',
    950: '#000000',
  },
}
SCSS
$custom: #8747e6;
$custom-light: #b17fef;
$custom-dark: #000000;
JSON
{
  "hex": "#8747e6",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 264.151,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.22619,
    "h": 296.9
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#8747E6
secondary
#CAE4A5
accent
#F335A6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8747E6

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

Preview Lab → · Contrast checker → · Palette generator →

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