#8747D5#8747D5

#8747D5 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.208 H 300.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8747D5
RGBrgb(135, 71, 213)
HSLhsl(267, 63%, 56%)
HSVhsv(267, 67%, 84%)
CMYKcmyk(36.6%, 66.7%, 0%, 16.5%)
CIE-LABlab(44.89, 54.69, -62.95)
CIE-LCHlch(44.89, 83.39, 310.98°)
OKLaboklab(54.89% 0.1047 -0.1793)
OKLCHoklch(54.89% 0.208 300.3)
XYZxyz(24.2522, 14.4613, 64.4515)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747D5 #95D547
analogous
#474ED5 #8747D5 #CE47D5
triadic
#8747D5 #D58747 #47D587
tetradic
#8747D5 #D5474E #95D547 #47D5CE
square
#8747D5 #D5474E #95D547 #47D5CE
split-complementary
#8747D5 #D5CE47 #4ED547
monochromatic
#4C1E84 #6829B5 #8747D5 #A779E0 #C8ABEC

Accessibility & contrast

On white

5.40
#8747D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8747D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747D5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747D5#FFFFFF#000000##FFFFFF
##8747D51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#766888
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8747d5;
/* rgb */ color: rgb(135, 71, 213);
/* oklch */ color: oklch(54.9% 0.208 300.3);
Tailwind
colors: {
  custom: {
    50: '#b07ee3',
    500: '#8747d5',
    950: '#000000',
  },
}
SCSS
$custom: #8747d5;
$custom-light: #b07ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#8747d5",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 267.042,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.20762,
    "h": 300.3
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#8747D5
secondary
#BFD99E
accent
#E6429C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8747D5

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

Preview Lab → · Contrast checker → · Palette generator →

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