#8E5BE6#8E5BE6

#8E5BE6 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.202 H 296.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8E5BE6
RGBrgb(142, 91, 230)
HSLhsl(262, 74%, 63%)
HSVhsv(262, 60%, 90%)
CMYKcmyk(38.3%, 60.4%, 0%, 9.8%)
CIE-LABlab(50.62, 50.12, -63.29)
CIE-LCHlch(50.62, 80.73, 308.37°)
OKLaboklab(59.58% 0.0906 -0.1801)
OKLCHoklch(59.58% 0.202 296.7)
XYZxyz(29.1757, 18.9456, 76.9673)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BE6 #B3E65B
analogous
#5B6EE6 #8E5BE6 #D35BE6
triadic
#8E5BE6 #E68E5B #5BE68E
tetradic
#8E5BE6 #E65B6E #B3E65B #5BE6D3
square
#8E5BE6 #E65B6E #B3E65B #5BE6D3
split-complementary
#8E5BE6 #E6D35B #6EE65B
monochromatic
#501AAC #6926DE #8E5BE6 #B390EE #D7C5F6

Accessibility & contrast

On white

4.38
#8E5BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8E5BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BE6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BE6#FFFFFF#000000##000000
##8E5BE61.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#1877E3
Tritanopia (blue-blind)
#797A98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e5be6;
/* rgb */ color: rgb(142, 91, 230);
/* oklch */ color: oklch(59.6% 0.202 296.7);
Tailwind
colors: {
  custom: {
    50: '#b48cef',
    500: '#8e5be6',
    950: '#000000',
  },
}
SCSS
$custom: #8e5be6;
$custom-light: #b48cef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5be6",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 262.014,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.20161,
    "h": 296.7
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

primary
#8E5BE6
secondary
#D5E7B5
accent
#D6108D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E5BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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