#8747D8#8747D8

#8747D8 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.211 H 299.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8747D8
RGBrgb(135, 71, 216)
HSLhsl(266, 65%, 56%)
HSVhsv(266, 67%, 85%)
CMYKcmyk(37.5%, 67.1%, 0%, 15.3%)
CIE-LABlab(45.10, 55.43, -64.32)
CIE-LCHlch(45.10, 84.91, 310.75°)
OKLaboklab(55.11% 0.1043 -0.1833)
OKLCHoklch(55.11% 0.211 299.7)
XYZxyz(24.6365, 14.6150, 66.4754)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747D8 #98D847
analogous
#4750D8 #8747D8 #D047D8
triadic
#8747D8 #D88747 #47D887
tetradic
#8747D8 #D84750 #98D847 #47D8D0
square
#8747D8 #D84750 #98D847 #47D8D0
split-complementary
#8747D8 #D8D047 #50D847
monochromatic
#4C1D88 #6827BA #8747D8 #A879E3 #C9ACED

Accessibility & contrast

On white

5.35
#8747D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8747D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747D8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747D8#FFFFFF#000000##FFFFFF
##8747D81.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#75698A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8747d8;
/* rgb */ color: rgb(135, 71, 216);
/* oklch */ color: oklch(55.1% 0.211 299.7);
Tailwind
colors: {
  custom: {
    50: '#b07ee5',
    500: '#8747d8',
    950: '#000000',
  },
}
SCSS
$custom: #8747d8;
$custom-light: #b07ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#8747d8",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 266.483,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55107,
    "c": 0.21091,
    "h": 299.7
  },
  "luminance": 0.14615
}

Semantic roles & 50–950 ramp

primary
#8747D8
secondary
#C1DBA0
accent
#E8409E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8747D8

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

Preview Lab → · Contrast checker → · Palette generator →

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