#8747CD#8747CD

#8747CD is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.199 H 302.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8747CD
RGBrgb(135, 71, 205)
HSLhsl(269, 57%, 54%)
HSVhsv(269, 65%, 80%)
CMYKcmyk(34.1%, 65.4%, 0%, 19.6%)
CIE-LABlab(44.33, 52.73, -59.26)
CIE-LCHlch(44.33, 79.32, 311.66°)
OKLaboklab(54.31% 0.1056 -0.1684)
OKLCHoklch(54.31% 0.199 302.1)
XYZxyz(23.2618, 14.0651, 59.2351)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747CD #8DCD47
analogous
#474ACD #8747CD #CA47CD
triadic
#8747CD #CD8747 #47CD87
tetradic
#8747CD #CD474A #8DCD47 #47CDCA
square
#8747CD #CD474A #8DCD47 #47CDCA
split-complementary
#8747CD #CDCA47 #4ACD47
monochromatic
#4B2179 #692EA9 #8747CD #A677DA #C6A7E7

Accessibility & contrast

On white

5.51
#8747CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8747CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747CD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747CD#FFFFFF#000000##FFFFFF
##8747CD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0D68CA
Tritanopia (blue-blind)
#796584
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8747cd;
/* rgb */ color: rgb(135, 71, 205);
/* oklch */ color: oklch(54.3% 0.199 302.1);
Tailwind
colors: {
  custom: {
    50: '#af7edd',
    500: '#8747cd',
    950: '#000000',
  },
}
SCSS
$custom: #8747cd;
$custom-light: #af7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8747cd",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 268.657,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.1988,
    "h": 302.1
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

primary
#8747CD
secondary
#B9D49B
accent
#E14797
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8747CD

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

Preview Lab → · Contrast checker → · Palette generator →

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