#8E5BF0#8E5BF0

#8E5BF0 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.213 H 295.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8E5BF0
RGBrgb(142, 91, 240)
HSLhsl(261, 83%, 65%)
HSVhsv(261, 62%, 94%)
CMYKcmyk(40.8%, 62.1%, 0%, 5.9%)
CIE-LABlab(51.29, 52.70, -67.82)
CIE-LCHlch(51.29, 85.89, 307.85°)
OKLaboklab(60.28% 0.09 -0.1934)
OKLCHoklch(60.28% 0.213 295)
XYZxyz(30.6204, 19.5235, 84.5763)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BF0 #BDF05B
analogous
#5B73F0 #8E5BF0 #D95BF0
triadic
#8E5BF0 #F08E5B #5BF08E
tetradic
#8E5BF0 #F05B73 #BDF05B #5BF0D9
square
#8E5BF0 #F05B73 #BDF05B #5BF0D9
split-complementary
#8E5BF0 #F0D95B #73F05B
monochromatic
#4D11BF #6723EB #8E5BF0 #B593F5 #DBCBFA

Accessibility & contrast

On white

4.28
#8E5BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8E5BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BF0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BF0#FFFFFF#000000##000000
##8E5BF01.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#747D9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e5bf0;
/* rgb */ color: rgb(142, 91, 240);
/* oklch */ color: oklch(60.3% 0.213 295.0);
Tailwind
colors: {
  custom: {
    50: '#b58cf6',
    500: '#8e5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bf0;
$custom-light: #b58cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bf0",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 260.537,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.21333,
    "h": 295
  },
  "luminance": 0.19524
}

Semantic roles & 50–950 ramp

primary
#8E5BF0
secondary
#DBEDBA
accent
#E00695
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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