#8B58EB#8B58EB

#8B58EB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.211 H 295.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8B58EB
RGBrgb(139, 88, 235)
HSLhsl(261, 79%, 63%)
HSVhsv(261, 63%, 92%)
CMYKcmyk(40.9%, 62.6%, 0%, 7.8%)
CIE-LABlab(50.06, 52.38, -67.04)
CIE-LCHlch(50.06, 85.07, 308.00°)
OKLaboklab(59.2% 0.0897 -0.1912)
OKLCHoklch(59.2% 0.211 295.1)
XYZxyz(29.1286, 18.4659, 80.6107)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58EB #B8EB58
analogous
#586EEB #8B58EB #D458EB
triadic
#8B58EB #EB8B58 #58EB8B
tetradic
#8B58EB #EB586E #B8EB58 #58EBD4
square
#8B58EB #EB586E #B8EB58 #58EBD4
split-complementary
#8B58EB #EBD458 #6EEB58
monochromatic
#4C15B3 #6521E4 #8B58EB #B18FF2 #D7C5F8

Accessibility & contrast

On white

4.47
#8B58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8B58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B58EB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58EB#FFFFFF#000000##000000
##8B58EB1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#727A9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b58eb;
/* rgb */ color: rgb(139, 88, 235);
/* oklch */ color: oklch(59.2% 0.211 295.1);
Tailwind
colors: {
  custom: {
    50: '#b38af2',
    500: '#8b58eb',
    950: '#000000',
  },
}
SCSS
$custom: #8b58eb;
$custom-light: #b38af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58eb",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 260.816,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59199,
    "c": 0.2112,
    "h": 295.1
  },
  "luminance": 0.18467
}

Semantic roles & 50–950 ramp

primary
#8B58EB
secondary
#D7EAB5
accent
#DB0B93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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