#8B5EE8#8B5EE8

#8B5EE8 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.9% C 0.200 H 294.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8B5EE8
RGBrgb(139, 94, 232)
HSLhsl(260, 75%, 64%)
HSVhsv(260, 59%, 91%)
CMYKcmyk(40.1%, 59.5%, 0%, 9%)
CIE-LABlab(51.06, 48.38, -63.73)
CIE-LCHlch(51.06, 80.01, 307.20°)
OKLaboklab(59.87% 0.0833 -0.1815)
OKLCHoklch(59.87% 0.2 294.6)
XYZxyz(29.2118, 19.3199, 78.5183)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EE8 #BBE85E
analogous
#5E76E8 #8B5EE8 #D05EE8
triadic
#8B5EE8 #E88B5E #5EE88B
tetradic
#8B5EE8 #E85E76 #BBE85E #5EE8D0
square
#8B5EE8 #E85E76 #BBE85E #5EE8D0
split-complementary
#8B5EE8 #E8D05E #76E85E
monochromatic
#4B19B2 #6428E0 #8B5EE8 #B294F0 #D8C9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B5EE8#FFFFFF#000000##000000
##8B5EE81.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)
#007BEC
Deuteranopia (green-blind)
#1477E5
Tritanopia (blue-blind)
#737C9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5ee8;
/* rgb */ color: rgb(139, 94, 232);
/* oklch */ color: oklch(59.9% 0.200 294.6);
Tailwind
colors: {
  custom: {
    50: '#b28df0',
    500: '#8b5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ee8;
$custom-light: #b28df0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ee8",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 259.565,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59865,
    "c": 0.19966,
    "h": 294.6
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#8B5EE8
secondary
#D9E9B9
accent
#D70E96
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8B5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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