#8E5BE3#8E5BE3

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

Color values

HEX#8E5BE3
RGBrgb(142, 91, 227)
HSLhsl(263, 71%, 62%)
HSVhsv(263, 60%, 89%)
CMYKcmyk(37.4%, 59.9%, 0%, 11%)
CIE-LABlab(50.43, 49.34, -61.92)
CIE-LCHlch(50.43, 79.17, 308.55°)
OKLaboklab(59.37% 0.0908 -0.1761)
OKLCHoklch(59.37% 0.198 297.3)
XYZxyz(28.7580, 18.7786, 74.7676)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BE3 #B0E35B
analogous
#5B6CE3 #8E5BE3 #D25BE3
triadic
#8E5BE3 #E38E5B #5BE38E
tetradic
#8E5BE3 #E35B6C #B0E35B #5BE3D2
square
#8E5BE3 #E35B6C #B0E35B #5BE3D2
split-complementary
#8E5BE3 #E3D25B #6CE35B
monochromatic
#501DA7 #6A27DA #8E5BE3 #B28FEC #D6C4F5

Accessibility & contrast

On white

4.42
#8E5BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E5BE3#FFFFFF#000000##000000
##8E5BE31.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#2076E0
Tritanopia (blue-blind)
#7A7996
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e5be3;
/* rgb */ color: rgb(142, 91, 227);
/* oklch */ color: oklch(59.4% 0.198 297.3);
Tailwind
colors: {
  custom: {
    50: '#b48ced',
    500: '#8e5be3',
    950: '#000000',
  },
}
SCSS
$custom: #8e5be3;
$custom-light: #b48ced;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5be3",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 262.5,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5937,
    "c": 0.19807,
    "h": 297.3
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#8E5BE3
secondary
#D3E6B4
accent
#D3138B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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