#8E5DE3#8E5DE3

#8E5DE3 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.195 H 296.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8E5DE3
RGBrgb(142, 93, 227)
HSLhsl(262, 71%, 63%)
HSVhsv(262, 59%, 89%)
CMYKcmyk(37.4%, 59%, 0%, 11%)
CIE-LABlab(50.83, 48.27, -61.26)
CIE-LCHlch(50.83, 77.99, 308.23°)
OKLaboklab(59.67% 0.0884 -0.1741)
OKLCHoklch(59.67% 0.195 296.9)
XYZxyz(28.9313, 19.1251, 74.8254)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5DE3 #B2E35D
analogous
#5D6FE3 #8E5DE3 #D15DE3
triadic
#8E5DE3 #E38E5D #5DE38E
tetradic
#8E5DE3 #E35D6F #B2E35D #5DE3D1
square
#8E5DE3 #E35D6F #B2E35D #5DE3D1
split-complementary
#8E5DE3 #E3D15D #6FE35D
monochromatic
#501DA8 #6A29DA #8E5DE3 #B291EC #D7C5F5

Accessibility & contrast

On white

4.35
#8E5DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8E5DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5DE3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5DE3#FFFFFF#000000##000000
##8E5DE31.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE7
Deuteranopia (green-blind)
#2577E0
Tritanopia (blue-blind)
#7A7A97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5de3;
/* rgb */ color: rgb(142, 93, 227);
/* oklch */ color: oklch(59.7% 0.195 296.9);
Tailwind
colors: {
  custom: {
    50: '#b48ded',
    500: '#8e5de3',
    950: '#000000',
  },
}
SCSS
$custom: #8e5de3;
$custom-light: #b48ded;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5de3",
  "rgb": {
    "r": 142,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 261.94,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59666,
    "c": 0.1953,
    "h": 296.9
  },
  "luminance": 0.19126
}

Semantic roles & 50–950 ramp

primary
#8E5DE3
secondary
#D4E6B6
accent
#D3138C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E5DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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