#8E5CE0#8E5CE0

#8E5CE0 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.193 H 297.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8E5CE0
RGBrgb(142, 92, 224)
HSLhsl(263, 68%, 62%)
HSVhsv(263, 59%, 88%)
CMYKcmyk(36.6%, 58.9%, 0%, 12.2%)
CIE-LABlab(50.44, 48.04, -60.21)
CIE-LCHlch(50.44, 77.02, 308.58°)
OKLaboklab(59.32% 0.0897 -0.171)
OKLCHoklch(59.32% 0.193 297.7)
XYZxyz(28.4336, 18.7865, 72.6347)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CE0 #AEE05C
analogous
#5C6CE0 #8E5CE0 #D05CE0
triadic
#8E5CE0 #E08E5C #5CE08E
tetradic
#8E5CE0 #E05C6C #AEE05C #5CE0D0
square
#8E5CE0 #E05C6C #AEE05C #5CE0D0
split-complementary
#8E5CE0 #E0D05C #6CE05C
monochromatic
#511FA3 #6A29D6 #8E5CE0 #B28FEA #D5C3F4

Accessibility & contrast

On white

4.41
#8E5CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8E5CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5CE0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CE0#FFFFFF#000000##000000
##8E5CE01.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0478E4
Deuteranopia (green-blind)
#2877DD
Tritanopia (blue-blind)
#7B7895
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e5ce0;
/* rgb */ color: rgb(142, 92, 224);
/* oklch */ color: oklch(59.3% 0.193 297.7);
Tailwind
colors: {
  custom: {
    50: '#b48cea',
    500: '#8e5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ce0;
$custom-light: #b48cea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ce0",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 262.727,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.19312,
    "h": 297.7
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#8E5CE0
secondary
#D2E4B4
accent
#D01689
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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