#8E5BEF#8E5BEF

#8E5BEF is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.212 H 295.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8E5BEF
RGBrgb(142, 91, 239)
HSLhsl(261, 82%, 65%)
HSVhsv(261, 62%, 94%)
CMYKcmyk(40.6%, 61.9%, 0%, 6.3%)
CIE-LABlab(51.23, 52.44, -67.37)
CIE-LCHlch(51.23, 85.38, 307.90°)
OKLaboklab(60.21% 0.0901 -0.1921)
OKLCHoklch(60.21% 0.212 295.1)
XYZxyz(30.4723, 19.4643, 83.7961)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BEF #BCEF5B
analogous
#5B72EF #8E5BEF #D85BEF
triadic
#8E5BEF #EF8E5B #5BEF8E
tetradic
#8E5BEF #EF5B72 #BCEF5B #5BEFD8
square
#8E5BEF #EF5B72 #BCEF5B #5BEFD8
split-complementary
#8E5BEF #EFD85B #72EF5B
monochromatic
#4D12BD #6823EA #8E5BEF #B493F4 #DBCBFA

Accessibility & contrast

On white

4.29
#8E5BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8E5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BEF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BEF#FFFFFF#000000##000000
##8E5BEF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#757D9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e5bef;
/* rgb */ color: rgb(142, 91, 239);
/* oklch */ color: oklch(60.2% 0.212 295.1);
Tailwind
colors: {
  custom: {
    50: '#b58cf5',
    500: '#8e5bef',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bef;
$custom-light: #b58cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bef",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 260.676,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60205,
    "c": 0.21217,
    "h": 295.1
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#8E5BEF
secondary
#DBECBA
accent
#DF0794
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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