#8E5BE8#8E5BE8

#8E5BE8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.204 H 296.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8E5BE8
RGBrgb(142, 91, 232)
HSLhsl(262, 75%, 63%)
HSVhsv(262, 61%, 91%)
CMYKcmyk(38.8%, 60.8%, 0%, 9%)
CIE-LABlab(50.76, 50.63, -64.21)
CIE-LCHlch(50.76, 81.77, 308.26°)
OKLaboklab(59.71% 0.0905 -0.1828)
OKLCHoklch(59.71% 0.204 296.3)
XYZxyz(29.4581, 19.0586, 78.4549)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BE8 #B5E85B
analogous
#5B6EE8 #8E5BE8 #D45BE8
triadic
#8E5BE8 #E88E5B #5BE88E
tetradic
#8E5BE8 #E85B6E #B5E85B #5BE8D4
square
#8E5BE8 #E85B6E #B5E85B #5BE8D4
split-complementary
#8E5BE8 #E8D45B #6EE85B
monochromatic
#4F19B0 #6925E0 #8E5BE8 #B391F0 #D8C6F7

Accessibility & contrast

On white

4.36
#8E5BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8E5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BE8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BE8#FFFFFF#000000##000000
##8E5BE81.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#1177E5
Tritanopia (blue-blind)
#787A99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5be8;
/* rgb */ color: rgb(142, 91, 232);
/* oklch */ color: oklch(59.7% 0.204 296.3);
Tailwind
colors: {
  custom: {
    50: '#b58cf0',
    500: '#8e5be8',
    950: '#000000',
  },
}
SCSS
$custom: #8e5be8;
$custom-light: #b58cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5be8",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 261.702,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59714,
    "c": 0.20397,
    "h": 296.3
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#8E5BE8
secondary
#D6E9B6
accent
#D80E8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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