#8B5BE9#8B5BE9

#8B5BE9 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.205 H 295.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8B5BE9
RGBrgb(139, 91, 233)
HSLhsl(260, 76%, 64%)
HSVhsv(260, 61%, 91%)
CMYKcmyk(40.3%, 60.9%, 0%, 8.6%)
CIE-LABlab(50.52, 50.26, -65.17)
CIE-LCHlch(50.52, 82.30, 307.64°)
OKLaboklab(59.49% 0.0866 -0.1857)
OKLCHoklch(59.49% 0.205 295)
XYZxyz(29.0926, 18.8537, 79.1813)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BE9 #B9E95B
analogous
#5B72E9 #8B5BE9 #D25BE9
triadic
#8B5BE9 #E98B5B #5BE98B
tetradic
#8B5BE9 #E95B72 #B9E95B #5BE9D2
square
#8B5BE9 #E95B72 #B9E95B #5BE9D2
split-complementary
#8B5BE9 #E9D25B #72E95B
monochromatic
#4C18B2 #6525E2 #8B5BE9 #B191F0 #D7C7F7

Accessibility & contrast

On white

4.40
#8B5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8B5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BE9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BE9#FFFFFF#000000##000000
##8B5BE91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#737B9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b5be9;
/* rgb */ color: rgb(139, 91, 233);
/* oklch */ color: oklch(59.5% 0.205 295.0);
Tailwind
colors: {
  custom: {
    50: '#b38bf1',
    500: '#8b5be9',
    950: '#000000',
  },
}
SCSS
$custom: #8b5be9;
$custom-light: #b38bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5be9",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 260.282,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59489,
    "c": 0.2049,
    "h": 295
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#8B5BE9
secondary
#D8E9B7
accent
#D90D94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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