#8B5BE5#8B5BE5

#8B5BE5 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.200 H 295.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8B5BE5
RGBrgb(139, 91, 229)
HSLhsl(261, 73%, 63%)
HSVhsv(261, 60%, 90%)
CMYKcmyk(39.3%, 60.3%, 0%, 10.2%)
CIE-LABlab(50.25, 49.21, -63.35)
CIE-LCHlch(50.25, 80.22, 307.84°)
OKLaboklab(59.21% 0.0868 -0.1804)
OKLCHoklch(59.21% 0.2 295.7)
XYZxyz(28.5277, 18.6277, 76.2060)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BE5 #B5E55B
analogous
#5B70E5 #8B5BE5 #D05BE5
triadic
#8B5BE5 #E58B5B #5BE58B
tetradic
#8B5BE5 #E55B70 #B5E55B #5BE5D0
square
#8B5BE5 #E55B70 #B5E55B #5BE5D0
split-complementary
#8B5BE5 #E5D05B #70E55B
monochromatic
#4D1BAB #6626DD #8B5BE5 #B090ED #D6C5F6

Accessibility & contrast

On white

4.44
#8B5BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8B5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BE5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BE5#FFFFFF#000000##000000
##8B5BE51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#1276E2
Tritanopia (blue-blind)
#747997
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b5be5;
/* rgb */ color: rgb(139, 91, 229);
/* oklch */ color: oklch(59.2% 0.200 295.7);
Tailwind
colors: {
  custom: {
    50: '#b28bee',
    500: '#8b5be5',
    950: '#000000',
  },
}
SCSS
$custom: #8b5be5;
$custom-light: #b28bee;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5be5",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 260.87,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.20014,
    "h": 295.7
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#8B5BE5
secondary
#D5E7B5
accent
#D51191
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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