#8D4DCE#8D4DCE

#8D4DCE is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.193 H 303.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8D4DCE
RGBrgb(141, 77, 206)
HSLhsl(270, 57%, 55%)
HSVhsv(270, 63%, 81%)
CMYKcmyk(31.6%, 62.6%, 0%, 19.2%)
CIE-LABlab(46.21, 51.24, -56.75)
CIE-LCHlch(46.21, 76.46, 312.08°)
OKLaboklab(55.85% 0.1067 -0.1609)
OKLCHoklch(55.85% 0.193 303.6)
XYZxyz(24.7764, 15.4267, 60.0529)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DCE #8ECE4D
analogous
#4D4ECE #8D4DCE #CD4DCE
triadic
#8D4DCE #CE8D4D #4DCE8D
tetradic
#8D4DCE #CE4D4E #8ECE4D #4DCECD
square
#8D4DCE #CE4D4E #8ECE4D #4DCECD
split-complementary
#8D4DCE #CECD4D #4ECE4D
monochromatic
#50237E #6E30AE #8D4DCE #AC7DDB #CAADE8

Accessibility & contrast

On white

5.14
#8D4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D4DCE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DCE#FFFFFF#000000##FFFFFF
##8D4DCE1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#816886
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4dce;
/* rgb */ color: rgb(141, 77, 206);
/* oklch */ color: oklch(55.8% 0.193 303.6);
Tailwind
colors: {
  custom: {
    50: '#b382de',
    500: '#8d4dce',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dce;
$custom-light: #b382de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dce",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 269.767,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.19305,
    "h": 303.6
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#8D4DCE
secondary
#BCD6A1
accent
#E04894
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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