#8747CC#8747CC

#8747CC is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.2% C 0.198 H 302.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8747CC
RGBrgb(135, 71, 204)
HSLhsl(269, 57%, 54%)
HSVhsv(269, 65%, 80%)
CMYKcmyk(33.8%, 65.2%, 0%, 20%)
CIE-LABlab(44.26, 52.49, -58.79)
CIE-LCHlch(44.26, 78.81, 311.76°)
OKLaboklab(54.23% 0.1057 -0.167)
OKLCHoklch(54.23% 0.198 302.3)
XYZxyz(23.1414, 14.0170, 58.6014)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747CC #8CCC47
analogous
#474ACC #8747CC #CA47CC
triadic
#8747CC #CC8747 #47CC87
tetradic
#8747CC #CC474A #8CCC47 #47CCCA
square
#8747CC #CC474A #8CCC47 #47CCCA
split-complementary
#8747CC #CCCA47 #4ACC47
monochromatic
#4B2177 #692EA7 #8747CC #A677D9 #C6A7E7

Accessibility & contrast

On white

5.52
#8747CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8747CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747CC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747CC#FFFFFF#000000##FFFFFF
##8747CC1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#1168C9
Tritanopia (blue-blind)
#796483
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8747cc;
/* rgb */ color: rgb(135, 71, 204);
/* oklch */ color: oklch(54.2% 0.198 302.3);
Tailwind
colors: {
  custom: {
    50: '#af7edc',
    500: '#8747cc',
    950: '#000000',
  },
}
SCSS
$custom: #8747cc;
$custom-light: #af7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8747cc",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 268.872,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.19769,
    "h": 302.3
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#8747CC
secondary
#B8D49B
accent
#E04897
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8747CC

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

Preview Lab → · Contrast checker → · Palette generator →

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