#8E5CD3#8E5CD3

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

Color values

HEX#8E5CD3
RGBrgb(142, 92, 211)
HSLhsl(265, 57%, 59%)
HSVhsv(265, 56%, 83%)
CMYKcmyk(32.7%, 56.4%, 0%, 17.3%)
CIE-LABlab(49.63, 44.74, -54.12)
CIE-LCHlch(49.63, 70.22, 309.58°)
OKLaboklab(58.46% 0.0898 -0.1532)
OKLCHoklch(58.46% 0.178 300.4)
XYZxyz(26.7375, 18.1081, 63.7020)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CD3 #A1D35C
analogous
#5C66D3 #8E5CD3 #CA5CD3
triadic
#8E5CD3 #D38E5C #5CD38E
tetradic
#8E5CD3 #D35C66 #A1D35C #5CD3CA
square
#8E5CD3 #D35C66 #A1D35C #5CD3CA
split-complementary
#8E5CD3 #D3CA5C #66D35C
monochromatic
#52268E #6E33BE #8E5CD3 #AF8CE0 #D1BCED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E5CD3#FFFFFF#000000##000000
##8E5CD31.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)
#2776D7
Deuteranopia (green-blind)
#3A75D0
Tritanopia (blue-blind)
#80748F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e5cd3;
/* rgb */ color: rgb(142, 92, 211);
/* oklch */ color: oklch(58.5% 0.178 300.4);
Tailwind
colors: {
  custom: {
    50: '#b38ce1',
    500: '#8e5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cd3;
$custom-light: #b38ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cd3",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 265.21,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.17753,
    "h": 300.4
  },
  "luminance": 0.18108
}

Semantic roles & 50–950 ramp

primary
#8E5CD3
secondary
#C9DDAE
accent
#E147A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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