#8747CA#8747CA

#8747CA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.195 H 302.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8747CA
RGBrgb(135, 71, 202)
HSLhsl(269, 55%, 54%)
HSVhsv(269, 65%, 79%)
CMYKcmyk(33.2%, 64.9%, 0%, 20.8%)
CIE-LABlab(44.12, 52.00, -57.86)
CIE-LCHlch(44.12, 77.79, 311.95°)
OKLaboklab(54.09% 0.1059 -0.1643)
OKLCHoklch(54.09% 0.195 302.8)
XYZxyz(22.9031, 13.9216, 57.3462)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8747CA #8ACA47
analogous
#4748CA #8747CA #C847CA
triadic
#8747CA #CA8747 #47CA87
tetradic
#8747CA #CA4748 #8ACA47 #47CAC8
square
#8747CA #CA4748 #8ACA47 #47CAC8
split-complementary
#8747CA #CAC847 #48CA47
monochromatic
#4A2275 #692FA4 #8747CA #A677D8 #C5A6E5

Accessibility & contrast

On white

5.55
#8747CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8747CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8747CA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8747CA#FFFFFF#000000##FFFFFF
##8747CA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#1768C7
Tritanopia (blue-blind)
#7A6482
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8747ca;
/* rgb */ color: rgb(135, 71, 202);
/* oklch */ color: oklch(54.1% 0.195 302.8);
Tailwind
colors: {
  custom: {
    50: '#af7edb',
    500: '#8747ca',
    950: '#000000',
  },
}
SCSS
$custom: #8747ca;
$custom-light: #af7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8747ca",
  "rgb": {
    "r": 135,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 269.313,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.19547,
    "h": 302.8
  },
  "luminance": 0.13922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8747CA

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

Preview Lab → · Contrast checker → · Palette generator →

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