#8D4DCC#8D4DCC

#8D4DCC is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.191 H 304.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8D4DCC
RGBrgb(141, 77, 204)
HSLhsl(270, 55%, 55%)
HSVhsv(270, 62%, 80%)
CMYKcmyk(30.9%, 62.3%, 0%, 20%)
CIE-LABlab(46.08, 50.76, -55.81)
CIE-LCHlch(46.08, 75.44, 312.29°)
OKLaboklab(55.71% 0.1068 -0.1581)
OKLCHoklch(55.71% 0.191 304)
XYZxyz(24.5350, 15.3302, 58.7815)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DCC #8CCC4D
analogous
#4D4DCC #8D4DCC #CC4DCC
triadic
#8D4DCC #CC8D4D #4DCC8D
tetradic
#8D4DCC #CC4D4D #8CCC4D #4DCCCC
square
#8D4DCC #CC4D4D #8CCC4D #4DCCCC
split-complementary
#8D4DCC #CCCC4D #4DCC4D
monochromatic
#50237B #6E31AB #8D4DCC #AB7DDA #CAACE7

Accessibility & contrast

On white

5.16
#8D4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8D4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DCC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DCC#FFFFFF#000000##FFFFFF
##8D4DCC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#816885
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4dcc;
/* rgb */ color: rgb(141, 77, 204);
/* oklch */ color: oklch(55.7% 0.191 304.0);
Tailwind
colors: {
  custom: {
    50: '#b282dc',
    500: '#8d4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dcc;
$custom-light: #b282dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dcc",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 270.236,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.19081,
    "h": 304
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#8D4DCC
secondary
#BAD5A0
accent
#DF4993
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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