#8747BE#8747BE

#8747BE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.182 H 305.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8747BE
RGBrgb(135, 71, 190)
HSLhsl(272, 48%, 51%)
HSVhsv(272, 63%, 75%)
CMYKcmyk(28.9%, 62.6%, 0%, 25.5%)
CIE-LABlab(43.32, 49.12, -52.18)
CIE-LCHlch(43.32, 71.66, 313.27°)
OKLaboklab(53.26% 0.1067 -0.1476)
OKLCHoklch(53.26% 0.182 305.9)
XYZxyz(21.5372, 13.3753, 50.1523)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747BE #7EBE47
analogous
#4B47BE #8747BE #BE47B9
triadic
#8747BE #BE8747 #47BE87
tetradic
#8747BE #BE4B47 #7EBE47 #47B9BE
square
#8747BE #BE4B47 #7EBE47 #47B9BE
split-complementary
#8747BE #B9BE47 #47BE4B
monochromatic
#482466 #683494 #8747BE #A474CE #C2A1DE

Accessibility & contrast

On white

5.71
#8747BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8747BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747BE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747BE#FFFFFF#000000##FFFFFF
##8747BE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2D67BB
Tritanopia (blue-blind)
#7E5F7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8747be;
/* rgb */ color: rgb(135, 71, 190);
/* oklch */ color: oklch(53.3% 0.182 305.9);
Tailwind
colors: {
  custom: {
    50: '#ae7ed2',
    500: '#8747be',
    950: '#000000',
  },
}
SCSS
$custom: #8747be;
$custom-light: #ae7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8747be",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 272.269,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.18215,
    "h": 305.9
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#8747BE
secondary
#AECB96
accent
#D7508F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8747BE

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

Preview Lab → · Contrast checker → · Palette generator →

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