#8E5BD5#8E5BD5

#8E5BD5 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.181 H 300.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8E5BD5
RGBrgb(142, 91, 213)
HSLhsl(265, 59%, 60%)
HSVhsv(265, 57%, 84%)
CMYKcmyk(33.3%, 57.3%, 0%, 16.5%)
CIE-LABlab(49.54, 45.79, -55.40)
CIE-LCHlch(49.54, 71.88, 309.57°)
OKLaboklab(58.44% 0.091 -0.1569)
OKLCHoklch(58.44% 0.181 300.1)
XYZxyz(26.9038, 18.0369, 65.0020)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BD5 #A2D55B
analogous
#5B65D5 #8E5BD5 #CB5BD5
triadic
#8E5BD5 #D58E5B #5BD58E
tetradic
#8E5BD5 #D55B65 #A2D55B #5BD5CB
square
#8E5BD5 #D55B65 #A2D55B #5BD5CB
split-complementary
#8E5BD5 #D5CB5B #65D55B
monochromatic
#522591 #6E32C1 #8E5BD5 #B08CE1 #D1BCEE

Accessibility & contrast

On white

4.56
#8E5BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8E5BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5BD5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BD5#FFFFFF#000000##000000
##8E5BD51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2175D9
Deuteranopia (green-blind)
#3775D2
Tritanopia (blue-blind)
#7F748F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e5bd5;
/* rgb */ color: rgb(142, 91, 213);
/* oklch */ color: oklch(58.4% 0.181 300.1);
Tailwind
colors: {
  custom: {
    50: '#b38be3',
    500: '#8e5bd5',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bd5;
$custom-light: #b38be3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bd5",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 265.082,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58438,
    "c": 0.18141,
    "h": 300.1
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#8E5BD5
secondary
#CADEAE
accent
#E245A1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E5BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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