#8B5DEB#8B5DEB

#8B5DEB is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.205 H 294.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8B5DEB
RGBrgb(139, 93, 235)
HSLhsl(259, 78%, 64%)
HSVhsv(259, 60%, 92%)
CMYKcmyk(40.9%, 60.4%, 0%, 7.8%)
CIE-LABlab(51.05, 49.71, -65.42)
CIE-LCHlch(51.05, 82.17, 307.23°)
OKLaboklab(59.92% 0.0842 -0.1865)
OKLCHoklch(59.92% 0.205 294.3)
XYZxyz(29.5532, 19.3151, 80.7523)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DEB #BDEB5D
analogous
#5D76EB #8B5DEB #D25DEB
triadic
#8B5DEB #EB8B5D #5DEB8B
tetradic
#8B5DEB #EB5D76 #BDEB5D #5DEBD2
square
#8B5DEB #EB5D76 #BDEB5D #5DEBD2
split-complementary
#8B5DEB #EBD25D #76EB5D
monochromatic
#4B17B7 #6427E4 #8B5DEB #B293F2 #D9CAF8

Accessibility & contrast

On white

4.32
#8B5DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8B5DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DEB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DEB#FFFFFF#000000##000000
##8B5DEB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#727D9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5deb;
/* rgb */ color: rgb(139, 93, 235);
/* oklch */ color: oklch(59.9% 0.205 294.3);
Tailwind
colors: {
  custom: {
    50: '#b38df2',
    500: '#8b5deb',
    950: '#000000',
  },
}
SCSS
$custom: #8b5deb;
$custom-light: #b38df2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5deb",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 259.437,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59924,
    "c": 0.2046,
    "h": 294.3
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#8B5DEB
secondary
#DBEBB9
accent
#DA0B97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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