#8B5DE4#8B5DE4

#8B5DE4 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.196 H 295.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8B5DE4
RGBrgb(139, 93, 228)
HSLhsl(260, 71%, 63%)
HSVhsv(260, 59%, 89%)
CMYKcmyk(39%, 59.2%, 0%, 10.6%)
CIE-LABlab(50.59, 47.87, -62.23)
CIE-LCHlch(50.59, 78.51, 307.57°)
OKLaboklab(59.44% 0.0845 -0.1771)
OKLCHoklch(59.44% 0.196 295.5)
XYZxyz(28.5617, 18.9185, 75.5306)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DE4 #B6E45D
analogous
#5D73E4 #8B5DE4 #CE5DE4
triadic
#8B5DE4 #E48B5D #5DE48B
tetradic
#8B5DE4 #E45D73 #B6E45D #5DE4CE
square
#8B5DE4 #E45D73 #B6E45D #5DE4CE
split-complementary
#8B5DE4 #E4CE5D #73E45D
monochromatic
#4D1CAA #6529DB #8B5DE4 #B191ED #D6C6F5

Accessibility & contrast

On white

4.39
#8B5DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8B5DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DE4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DE4#FFFFFF#000000##000000
##8B5DE41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#1D76E1
Tritanopia (blue-blind)
#757A98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b5de4;
/* rgb */ color: rgb(139, 93, 228);
/* oklch */ color: oklch(59.4% 0.196 295.5);
Tailwind
colors: {
  custom: {
    50: '#b28ded',
    500: '#8b5de4',
    950: '#000000',
  },
}
SCSS
$custom: #8b5de4;
$custom-light: #b28ded;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5de4",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 260.444,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5944,
    "c": 0.19622,
    "h": 295.5
  },
  "luminance": 0.18919
}

Semantic roles & 50–950 ramp

primary
#8B5DE4
secondary
#D6E7B6
accent
#D31292
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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