#8E5BEC#8E5BEC

#8E5BEC is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.209 H 295.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8E5BEC
RGBrgb(142, 91, 236)
HSLhsl(261, 79%, 64%)
HSVhsv(261, 61%, 93%)
CMYKcmyk(39.8%, 61.4%, 0%, 7.5%)
CIE-LABlab(51.02, 51.66, -66.02)
CIE-LCHlch(51.02, 83.83, 308.04°)
OKLaboklab(59.99% 0.0903 -0.1881)
OKLCHoklch(59.99% 0.209 295.6)
XYZxyz(30.0328, 19.2885, 81.4813)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BEC #B9EC5B
analogous
#5B71EC #8E5BEC #D65BEC
triadic
#8E5BEC #EC8E5B #5BEC8E
tetradic
#8E5BEC #EC5B71 #B9EC5B #5BECD6
square
#8E5BEC #EC5B71 #B9EC5B #5BECD6
split-complementary
#8E5BEC #ECD65B #71EC5B
monochromatic
#4E15B7 #6824E6 #8E5BEC #B492F2 #DAC9F9

Accessibility & contrast

On white

4.32
#8E5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8E5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BEC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BEC#FFFFFF#000000##000000
##8E5BEC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#767C9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5bec;
/* rgb */ color: rgb(142, 91, 236);
/* oklch */ color: oklch(60.0% 0.209 295.6);
Tailwind
colors: {
  custom: {
    50: '#b58cf3',
    500: '#8e5bec',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bec;
$custom-light: #b58cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bec",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 261.103,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.20866,
    "h": 295.6
  },
  "luminance": 0.19289
}

Semantic roles & 50–950 ramp

primary
#8E5BEC
secondary
#D9EBB8
accent
#DC0A92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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