#8747BC#8747BC

#8747BC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.180 H 306.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8747BC
RGBrgb(135, 71, 188)
HSLhsl(273, 47%, 51%)
HSVhsv(273, 62%, 74%)
CMYKcmyk(28.2%, 62.2%, 0%, 26.3%)
CIE-LABlab(43.19, 48.65, -51.21)
CIE-LCHlch(43.19, 70.64, 313.53°)
OKLaboklab(53.13% 0.1068 -0.1448)
OKLCHoklch(53.13% 0.18 306.4)
XYZxyz(21.3201, 13.2884, 49.0090)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747BC #7CBC47
analogous
#4C47BC #8747BC #BC47B6
triadic
#8747BC #BC8747 #47BC87
tetradic
#8747BC #BC4C47 #7CBC47 #47B6BC
square
#8747BC #BC4C47 #7CBC47 #47B6BC
split-complementary
#8747BC #B6BC47 #47BC4C
monochromatic
#472464 #673591 #8747BC #A474CC #C2A1DD

Accessibility & contrast

On white

5.74
#8747BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8747BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747BC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747BC#FFFFFF#000000##FFFFFF
##8747BC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0164C0
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#7E5F7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8747bc;
/* rgb */ color: rgb(135, 71, 188);
/* oklch */ color: oklch(53.1% 0.180 306.4);
Tailwind
colors: {
  custom: {
    50: '#ae7ed1',
    500: '#8747bc',
    950: '#000000',
  },
}
SCSS
$custom: #8747bc;
$custom-light: #ae7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8747bc",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 272.821,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53127,
    "c": 0.17992,
    "h": 306.4
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#8747BC
secondary
#ADC995
accent
#D6528E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8747BC

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

Preview Lab → · Contrast checker → · Palette generator →

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