#8E5DCE#8E5DCE

#8E5DCE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.170 H 301.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8E5DCE
RGBrgb(142, 93, 206)
HSLhsl(266, 54%, 59%)
HSVhsv(266, 55%, 81%)
CMYKcmyk(31.1%, 54.9%, 0%, 19.2%)
CIE-LABlab(49.54, 42.94, -51.41)
CIE-LCHlch(49.54, 66.98, 309.87°)
OKLaboklab(58.3% 0.0884 -0.1452)
OKLCHoklch(58.3% 0.17 301.3)
XYZxyz(26.2077, 18.0356, 60.4811)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5DCE #9DCE5D
analogous
#5D64CE #8E5DCE #C75DCE
triadic
#8E5DCE #CE8E5D #5DCE8E
tetradic
#8E5DCE #CE5D64 #9DCE5D #5DCEC7
square
#8E5DCE #CE5D64 #9DCE5D #5DCEC7
split-complementary
#8E5DCE #CEC75D #64CE5D
monochromatic
#522988 #6E37B7 #8E5DCE #AF8CDC #D0BBEA

Accessibility & contrast

On white

4.56
#8E5DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8E5DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5DCE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5DCE#FFFFFF#000000##000000
##8E5DCE1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e5dce;
/* rgb */ color: rgb(142, 93, 206);
/* oklch */ color: oklch(58.3% 0.170 301.3);
Tailwind
colors: {
  custom: {
    50: '#b28cdd',
    500: '#8e5dce',
    950: '#000000',
  },
}
SCSS
$custom: #8e5dce;
$custom-light: #b28cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5dce",
  "rgb": {
    "r": 142,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 266.018,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58302,
    "c": 0.16998,
    "h": 301.3
  },
  "luminance": 0.18036
}

Semantic roles & 50–950 ramp

primary
#8E5DCE
secondary
#C6DAAD
accent
#DD4B9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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