#8747BD#8747BD

#8747BD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.181 H 306.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8747BD
RGBrgb(135, 71, 189)
HSLhsl(273, 47%, 51%)
HSVhsv(273, 62%, 74%)
CMYKcmyk(28.6%, 62.4%, 0%, 25.9%)
CIE-LABlab(43.26, 48.89, -51.70)
CIE-LCHlch(43.26, 71.15, 313.40°)
OKLaboklab(53.19% 0.1068 -0.1462)
OKLCHoklch(53.19% 0.181 306.1)
XYZxyz(21.4283, 13.3317, 49.5787)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747BD #7DBD47
analogous
#4C47BD #8747BD #BD47B8
triadic
#8747BD #BD8747 #47BD87
tetradic
#8747BD #BD4C47 #7DBD47 #47B8BD
square
#8747BD #BD4C47 #7DBD47 #47B8BD
split-complementary
#8747BD #B8BD47 #47BD4C
monochromatic
#482465 #673492 #8747BD #A474CD #C2A1DD

Accessibility & contrast

On white

5.73
#8747BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8747BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747BD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747BD#FFFFFF#000000##FFFFFF
##8747BD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#2E67BA
Tritanopia (blue-blind)
#7E5F7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8747bd;
/* rgb */ color: rgb(135, 71, 189);
/* oklch */ color: oklch(53.2% 0.181 306.1);
Tailwind
colors: {
  custom: {
    50: '#ae7ed1',
    500: '#8747bd',
    950: '#000000',
  },
}
SCSS
$custom: #8747bd;
$custom-light: #ae7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8747bd",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 272.542,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.18104,
    "h": 306.1
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#8747BD
secondary
#AECA96
accent
#D7518E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8747BD

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

Preview Lab → · Contrast checker → · Palette generator →

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