#8E5EE8#8E5EE8

#8E5EE8 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.2% C 0.200 H 295.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8E5EE8
RGBrgb(142, 94, 232)
HSLhsl(261, 75%, 64%)
HSVhsv(261, 59%, 91%)
CMYKcmyk(38.8%, 59.5%, 0%, 9%)
CIE-LABlab(51.36, 49.02, -63.23)
CIE-LCHlch(51.36, 80.00, 307.79°)
OKLaboklab(60.16% 0.0871 -0.1799)
OKLCHoklch(60.16% 0.2 295.8)
XYZxyz(29.7197, 19.5818, 78.5421)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EE8 #B8E85E
analogous
#5E73E8 #8E5EE8 #D35EE8
triadic
#8E5EE8 #E88E5E #5EE88E
tetradic
#8E5EE8 #E85E73 #B8E85E #5EE8D3
square
#8E5EE8 #E85E73 #B8E85E #5EE8D3
split-complementary
#8E5EE8 #E8D35E #73E85E
monochromatic
#4F19B2 #6828E0 #8E5EE8 #B494F0 #D9C9F7

Accessibility & contrast

On white

4.27
#8E5EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8E5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EE8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EE8#FFFFFF#000000##000000
##8E5EE81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#1C78E5
Tritanopia (blue-blind)
#787C9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e5ee8;
/* rgb */ color: rgb(142, 94, 232);
/* oklch */ color: oklch(60.2% 0.200 295.8);
Tailwind
colors: {
  custom: {
    50: '#b48ef0',
    500: '#8e5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ee8;
$custom-light: #b48ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ee8",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 260.87,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60155,
    "c": 0.1999,
    "h": 295.8
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#8E5EE8
secondary
#D8E9B9
accent
#D70E91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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