#8E5BDB#8E5BDB

#8E5BDB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.189 H 298.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8E5BDB
RGBrgb(142, 91, 219)
HSLhsl(264, 64%, 61%)
HSVhsv(264, 58%, 86%)
CMYKcmyk(35.2%, 58.4%, 0%, 14.1%)
CIE-LABlab(49.91, 47.30, -58.21)
CIE-LCHlch(49.91, 75.01, 309.10°)
OKLaboklab(58.83% 0.091 -0.1652)
OKLCHoklch(58.83% 0.189 298.8)
XYZxyz(27.6794, 18.3471, 69.0872)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BDB #A8DB5B
analogous
#5B68DB #8E5BDB #CE5BDB
triadic
#8E5BDB #DB8E5B #5BDB8E
tetradic
#8E5BDB #DB5B68 #A8DB5B #5BDBCE
square
#8E5BDB #DB5B68 #A8DB5B #5BDBCE
split-complementary
#8E5BDB #DBCE5B #68DB5B
monochromatic
#52229A #6C2DCC #8E5BDB #B18DE6 #D3BFF1

Accessibility & contrast

On white

4.50
#8E5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8E5BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BDB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BDB#FFFFFF#000000##000000
##8E5BDB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1277DF
Deuteranopia (green-blind)
#2F76D8
Tritanopia (blue-blind)
#7D7692
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e5bdb;
/* rgb */ color: rgb(142, 91, 219);
/* oklch */ color: oklch(58.8% 0.189 298.8);
Tailwind
colors: {
  custom: {
    50: '#b38be7',
    500: '#8e5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bdb;
$custom-light: #b38be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bdb",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 263.906,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58832,
    "c": 0.18858,
    "h": 298.8
  },
  "luminance": 0.18347
}

Semantic roles & 50–950 ramp

primary
#8E5BDB
secondary
#CEE1B1
accent
#CC1A85
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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