#8E5BED#8E5BED

#8E5BED is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.210 H 295.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8E5BED
RGBrgb(142, 91, 237)
HSLhsl(261, 80%, 64%)
HSVhsv(261, 62%, 93%)
CMYKcmyk(40.1%, 61.6%, 0%, 7.1%)
CIE-LABlab(51.09, 51.92, -66.47)
CIE-LCHlch(51.09, 84.35, 307.99°)
OKLaboklab(60.06% 0.0902 -0.1894)
OKLCHoklch(60.06% 0.21 295.5)
XYZxyz(30.1785, 19.3467, 82.2486)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BED #BAED5B
analogous
#5B71ED #8E5BED #D75BED
triadic
#8E5BED #ED8E5B #5BED8E
tetradic
#8E5BED #ED5B71 #BAED5B #5BEDD7
square
#8E5BED #ED5B71 #BAED5B #5BEDD7
split-complementary
#8E5BED #EDD75B #71ED5B
monochromatic
#4E14B9 #6824E7 #8E5BED #B492F3 #DAC9F9

Accessibility & contrast

On white

4.31
#8E5BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8E5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BED
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BED#FFFFFF#000000##000000
##8E5BED1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#767C9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e5bed;
/* rgb */ color: rgb(142, 91, 237);
/* oklch */ color: oklch(60.1% 0.210 295.5);
Tailwind
colors: {
  custom: {
    50: '#b58cf4',
    500: '#8e5bed',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bed;
$custom-light: #b58cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bed",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 260.959,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60063,
    "c": 0.20984,
    "h": 295.5
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#8E5BED
secondary
#DAEBB9
accent
#DD0993
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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