#8D4ECC#8D4ECC

#8D4ECC is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.189 H 303.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8D4ECC
RGBrgb(141, 78, 204)
HSLhsl(270, 55%, 55%)
HSVhsv(270, 62%, 80%)
CMYKcmyk(30.9%, 61.8%, 0%, 20%)
CIE-LABlab(46.27, 50.25, -55.51)
CIE-LCHlch(46.27, 74.87, 312.15°)
OKLaboklab(55.85% 0.1056 -0.1572)
OKLCHoklch(55.85% 0.189 303.9)
XYZxyz(24.6055, 15.4712, 58.8050)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ECC #8DCC4E
analogous
#4E4ECC #8D4ECC #CC4ECC
triadic
#8D4ECC #CC8D4E #4ECC8D
tetradic
#8D4ECC #CC4E4E #8DCC4E #4ECCCC
square
#8D4ECC #CC4E4E #8DCC4E #4ECCCC
split-complementary
#8D4ECC #CCCC4E #4ECC4E
monochromatic
#50247C #6E31AB #8D4ECC #AC7EDA #CAADE7

Accessibility & contrast

On white

5.13
#8D4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8D4ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ECC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ECC#FFFFFF#000000##FFFFFF
##8D4ECC1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#2D6EC9
Tritanopia (blue-blind)
#816886
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d4ecc;
/* rgb */ color: rgb(141, 78, 204);
/* oklch */ color: oklch(55.8% 0.189 303.9);
Tailwind
colors: {
  custom: {
    50: '#b283dc',
    500: '#8d4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ecc;
$custom-light: #b283dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ecc",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 270,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.18941,
    "h": 303.9
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#8D4ECC
secondary
#BBD5A1
accent
#DF4994
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

#8D4ECC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva