#8D4EC8#8D4EC8

#8D4EC8 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.185 H 304.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8D4EC8
RGBrgb(141, 78, 200)
HSLhsl(271, 53%, 55%)
HSVhsv(271, 61%, 78%)
CMYKcmyk(29.5%, 61%, 0%, 21.6%)
CIE-LABlab(46.02, 49.29, -53.61)
CIE-LCHlch(46.02, 72.82, 312.60°)
OKLaboklab(55.58% 0.1058 -0.1516)
OKLCHoklch(55.58% 0.185 304.9)
XYZxyz(24.1319, 15.2818, 56.3107)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EC8 #89C84E
analogous
#504EC8 #8D4EC8 #C84EC6
triadic
#8D4EC8 #C88D4E #4EC88D
tetradic
#8D4EC8 #C8504E #89C84E #4EC6C8
square
#8D4EC8 #C8504E #89C84E #4EC6C8
split-complementary
#8D4EC8 #C6C84E #4EC850
monochromatic
#4F2577 #6E33A5 #8D4EC8 #AB7DD7 #C9ABE5

Accessibility & contrast

On white

5.18
#8D4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8D4EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EC8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EC8#FFFFFF#000000##FFFFFF
##8D4EC81.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086BCC
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#836784
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4ec8;
/* rgb */ color: rgb(141, 78, 200);
/* oklch */ color: oklch(55.6% 0.185 304.9);
Tailwind
colors: {
  custom: {
    50: '#b283d9',
    500: '#8d4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ec8;
$custom-light: #b283d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ec8",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 270.984,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.1849,
    "h": 304.9
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#8D4EC8
secondary
#B8D39F
accent
#DC4C92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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