#8D4ECA#8D4ECA

#8D4ECA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.187 H 304.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D4ECA
RGBrgb(141, 78, 202)
HSLhsl(270, 54%, 55%)
HSVhsv(270, 61%, 79%)
CMYKcmyk(30.2%, 61.4%, 0%, 20.8%)
CIE-LABlab(46.14, 49.77, -54.56)
CIE-LCHlch(46.14, 73.85, 312.37°)
OKLaboklab(55.71% 0.1057 -0.1544)
OKLCHoklch(55.71% 0.187 304.4)
XYZxyz(24.3672, 15.3759, 57.5498)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ECA #8BCA4E
analogous
#4F4ECA #8D4ECA #CA4EC9
triadic
#8D4ECA #CA8D4E #4ECA8D
tetradic
#8D4ECA #CA4F4E #8BCA4E #4EC9CA
square
#8D4ECA #CA4F4E #8BCA4E #4EC9CA
split-complementary
#8D4ECA #C9CA4E #4ECA4F
monochromatic
#4F2479 #6E32A8 #8D4ECA #AB7DD8 #CAACE6

Accessibility & contrast

On white

5.15
#8D4ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8D4ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4ECA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4ECA#FFFFFF#000000##FFFFFF
##8D4ECA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#826885
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4eca;
/* rgb */ color: rgb(141, 78, 202);
/* oklch */ color: oklch(55.7% 0.187 304.4);
Tailwind
colors: {
  custom: {
    50: '#b283db',
    500: '#8d4eca',
    950: '#000000',
  },
}
SCSS
$custom: #8d4eca;
$custom-light: #b283db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4eca",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 270.484,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.18716,
    "h": 304.4
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#8D4ECA
secondary
#B9D4A0
accent
#DD4B93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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