#8E5BE1#8E5BE1

#8E5BE1 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.196 H 297.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8E5BE1
RGBrgb(142, 91, 225)
HSLhsl(263, 69%, 62%)
HSVhsv(263, 60%, 88%)
CMYKcmyk(36.9%, 59.6%, 0%, 11.8%)
CIE-LABlab(50.30, 48.83, -61.00)
CIE-LCHlch(50.30, 78.14, 308.68°)
OKLaboklab(59.23% 0.0908 -0.1733)
OKLCHoklch(59.23% 0.196 297.7)
XYZxyz(28.4836, 18.6688, 73.3223)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BE1 #AEE15B
analogous
#5B6BE1 #8E5BE1 #D15BE1
triadic
#8E5BE1 #E18E5B #5BE18E
tetradic
#8E5BE1 #E15B6B #AEE15B #5BE1D1
square
#8E5BE1 #E15B6B #AEE15B #5BE1D1
split-complementary
#8E5BE1 #E1D15B #6BE15B
monochromatic
#511EA4 #6A27D7 #8E5BE1 #B28FEA #D5C2F4

Accessibility & contrast

On white

4.44
#8E5BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8E5BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BE1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BE1#FFFFFF#000000##000000
##8E5BE11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#2476DE
Tritanopia (blue-blind)
#7B7895
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e5be1;
/* rgb */ color: rgb(142, 91, 225);
/* oklch */ color: oklch(59.2% 0.196 297.7);
Tailwind
colors: {
  custom: {
    50: '#b48beb',
    500: '#8e5be1',
    950: '#000000',
  },
}
SCSS
$custom: #8e5be1;
$custom-light: #b48beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5be1",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 262.836,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.1957,
    "h": 297.7
  },
  "luminance": 0.18669
}

Semantic roles & 50–950 ramp

primary
#8E5BE1
secondary
#D2E5B3
accent
#D11489
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E5BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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