#8747BB#8747BB

#8747BB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.179 H 306.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8747BB
RGBrgb(135, 71, 187)
HSLhsl(273, 46%, 51%)
HSVhsv(273, 62%, 73%)
CMYKcmyk(27.8%, 62%, 0%, 26.7%)
CIE-LABlab(43.13, 48.41, -50.73)
CIE-LCHlch(43.13, 70.13, 313.66°)
OKLaboklab(53.06% 0.1069 -0.1434)
OKLCHoklch(53.06% 0.179 306.7)
XYZxyz(21.2127, 13.2455, 48.4432)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747BB #7BBB47
analogous
#4D47BB #8747BB #BB47B5
triadic
#8747BB #BB8747 #47BB87
tetradic
#8747BB #BB4D47 #7BBB47 #47B5BB
square
#8747BB #BB4D47 #7BBB47 #47B5BB
split-complementary
#8747BB #B5BB47 #47BB4D
monochromatic
#472563 #673590 #8747BB #A474CC #C1A0DC

Accessibility & contrast

On white

5.76
#8747BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8747BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747BB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747BB#FFFFFF#000000##FFFFFF
##8747BB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#7F5E7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8747bb;
/* rgb */ color: rgb(135, 71, 187);
/* oklch */ color: oklch(53.1% 0.179 306.7);
Tailwind
colors: {
  custom: {
    50: '#ae7ed0',
    500: '#8747bb',
    950: '#000000',
  },
}
SCSS
$custom: #8747bb;
$custom-light: #ae7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8747bb",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 273.103,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53061,
    "c": 0.17881,
    "h": 306.7
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#8747BB
secondary
#ACC995
accent
#D6528D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8747BB

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

Preview Lab → · Contrast checker → · Palette generator →

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