#8747D7#8747D7

#8747D7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.210 H 299.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8747D7
RGBrgb(135, 71, 215)
HSLhsl(267, 64%, 56%)
HSVhsv(267, 67%, 84%)
CMYKcmyk(37.2%, 67%, 0%, 15.7%)
CIE-LABlab(45.03, 55.18, -63.86)
CIE-LCHlch(45.03, 84.40, 310.83°)
OKLaboklab(55.03% 0.1045 -0.182)
OKLCHoklch(55.03% 0.21 299.9)
XYZxyz(24.5076, 14.5634, 65.7967)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747D7 #97D747
analogous
#474FD7 #8747D7 #CF47D7
triadic
#8747D7 #D78747 #47D787
tetradic
#8747D7 #D7474F #97D747 #47D7CF
square
#8747D7 #D7474F #97D747 #47D7CF
split-complementary
#8747D7 #D7CF47 #4FD747
monochromatic
#4C1D86 #6828B9 #8747D7 #A879E2 #C9ACED

Accessibility & contrast

On white

5.37
#8747D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8747D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747D7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747D7#FFFFFF#000000##FFFFFF
##8747D71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#756989
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8747d7;
/* rgb */ color: rgb(135, 71, 215);
/* oklch */ color: oklch(55.0% 0.210 299.9);
Tailwind
colors: {
  custom: {
    50: '#b07ee4',
    500: '#8747d7',
    950: '#000000',
  },
}
SCSS
$custom: #8747d7;
$custom-light: #b07ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#8747d7",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 266.667,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.20982,
    "h": 299.9
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

primary
#8747D7
secondary
#C0DB9F
accent
#E7419D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8747D7

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

Preview Lab → · Contrast checker → · Palette generator →

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