#8D5ECE#8D5ECE

#8D5ECE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.168 H 300.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8D5ECE
RGBrgb(141, 94, 206)
HSLhsl(265, 53%, 59%)
HSVhsv(265, 54%, 81%)
CMYKcmyk(31.6%, 54.4%, 0%, 19.2%)
CIE-LABlab(49.65, 42.14, -51.24)
CIE-LCHlch(49.65, 66.34, 309.43°)
OKLaboklab(58.36% 0.0858 -0.1447)
OKLCHoklch(58.36% 0.168 300.7)
XYZxyz(26.1252, 18.1242, 60.5025)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5ECE #9FCE5E
analogous
#5E67CE #8D5ECE #C55ECE
triadic
#8D5ECE #CE8D5E #5ECE8D
tetradic
#8D5ECE #CE5E67 #9FCE5E #5ECEC5
square
#8D5ECE #CE5E67 #9FCE5E #5ECEC5
split-complementary
#8D5ECE #CEC55E #67CE5E
monochromatic
#512988 #6D38B7 #8D5ECE #AE8DDC #CFBCEB

Accessibility & contrast

On white

4.54
#8D5ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8D5ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5ECE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5ECE#FFFFFF#000000##000000
##8D5ECE1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3276D2
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#80748D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5ece;
/* rgb */ color: rgb(141, 94, 206);
/* oklch */ color: oklch(58.4% 0.168 300.7);
Tailwind
colors: {
  custom: {
    50: '#b28ddd',
    500: '#8d5ece',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ece;
$custom-light: #b28ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ece",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 206
  },
  "hsl": {
    "h": 265.179,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58357,
    "c": 0.16827,
    "h": 300.7
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#8D5ECE
secondary
#C7DAAE
accent
#DD4BA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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