#8E5BDF#8E5BDF

#8E5BDF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.193 H 298.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8E5BDF
RGBrgb(142, 91, 223)
HSLhsl(263, 67%, 62%)
HSVhsv(263, 59%, 87%)
CMYKcmyk(36.3%, 59.2%, 0%, 12.5%)
CIE-LABlab(50.17, 48.32, -60.07)
CIE-LCHlch(50.17, 77.10, 308.81°)
OKLaboklab(59.1% 0.0909 -0.1706)
OKLCHoklch(59.1% 0.193 298)
XYZxyz(28.2124, 18.5603, 71.8939)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BDF #ACDF5B
analogous
#5B6ADF #8E5BDF #D05BDF
triadic
#8E5BDF #DF8E5B #5BDF8E
tetradic
#8E5BDF #DF5B6A #ACDF5B #5BDFD0
square
#8E5BDF #DF5B6A #ACDF5B #5BDFD0
split-complementary
#8E5BDF #DFD05B #6ADF5B
monochromatic
#511FA0 #6B29D4 #8E5BDF #B18EE9 #D5C1F3

Accessibility & contrast

On white

4.46
#8E5BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8E5BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BDF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BDF#FFFFFF#000000##000000
##8E5BDF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E3
Deuteranopia (green-blind)
#2876DC
Tritanopia (blue-blind)
#7B7794
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e5bdf;
/* rgb */ color: rgb(142, 91, 223);
/* oklch */ color: oklch(59.1% 0.193 298.0);
Tailwind
colors: {
  custom: {
    50: '#b48bea',
    500: '#8e5bdf',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bdf;
$custom-light: #b48bea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bdf",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 263.182,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59099,
    "c": 0.19334,
    "h": 298
  },
  "luminance": 0.18561
}

Semantic roles & 50–950 ramp

primary
#8E5BDF
secondary
#D0E3B2
accent
#CF1688
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E5BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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