#8747CB#8747CB

#8747CB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.2% C 0.197 H 302.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8747CB
RGBrgb(135, 71, 203)
HSLhsl(269, 56%, 54%)
HSVhsv(269, 65%, 80%)
CMYKcmyk(33.5%, 65%, 0%, 20.4%)
CIE-LABlab(44.19, 52.24, -58.33)
CIE-LCHlch(44.19, 78.30, 311.85°)
OKLaboklab(54.16% 0.1058 -0.1657)
OKLCHoklch(54.16% 0.197 302.6)
XYZxyz(23.0219, 13.9691, 57.9718)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747CB #8BCB47
analogous
#4749CB #8747CB #C947CB
triadic
#8747CB #CB8747 #47CB87
tetradic
#8747CB #CB4749 #8BCB47 #47CBC9
square
#8747CB #CB4749 #8BCB47 #47CBC9
split-complementary
#8747CB #CBC947 #49CB47
monochromatic
#4B2176 #692FA6 #8747CB #A677D8 #C5A6E6

Accessibility & contrast

On white

5.54
#8747CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8747CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747CB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747CB#FFFFFF#000000##FFFFFF
##8747CB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#796483
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8747cb;
/* rgb */ color: rgb(135, 71, 203);
/* oklch */ color: oklch(54.2% 0.197 302.6);
Tailwind
colors: {
  custom: {
    50: '#af7edc',
    500: '#8747cb',
    950: '#000000',
  },
}
SCSS
$custom: #8747cb;
$custom-light: #af7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8747cb",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 269.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54162,
    "c": 0.19658,
    "h": 302.6
  },
  "luminance": 0.13969
}

Semantic roles & 50–950 ramp

primary
#8747CB
secondary
#B8D39B
accent
#DF4996
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8747CB

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

Preview Lab → · Contrast checker → · Palette generator →

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