#8B58E1#8B58E1

#8B58E1 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.199 H 296.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8B58E1
RGBrgb(139, 88, 225)
HSLhsl(262, 70%, 61%)
HSVhsv(262, 61%, 88%)
CMYKcmyk(38.2%, 60.9%, 0%, 11.8%)
CIE-LABlab(49.38, 49.79, -62.49)
CIE-LCHlch(49.38, 79.90, 308.54°)
OKLaboklab(58.49% 0.0904 -0.1778)
OKLCHoklch(58.49% 0.199 296.9)
XYZxyz(27.7243, 17.9042, 73.2147)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58E1 #AEE158
analogous
#586AE1 #8B58E1 #D058E1
triadic
#8B58E1 #E18B58 #58E18B
tetradic
#8B58E1 #E1586A #AEE158 #58E1D0
square
#8B58E1 #E1586A #AEE158 #58E1D0
split-complementary
#8B58E1 #E1D058 #6AE158
monochromatic
#4E1DA2 #6826D5 #8B58E1 #AF8CEA #D3C0F4

Accessibility & contrast

On white

4.58
#8B58E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8B58E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B58E1
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58E1#FFFFFF#000000##000000
##8B58E11.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#1474DE
Tritanopia (blue-blind)
#767694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b58e1;
/* rgb */ color: rgb(139, 88, 225);
/* oklch */ color: oklch(58.5% 0.199 296.9);
Tailwind
colors: {
  custom: {
    50: '#b289eb',
    500: '#8b58e1',
    950: '#000000',
  },
}
SCSS
$custom: #8b58e1;
$custom-light: #b289eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58e1",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 262.336,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.19947,
    "h": 296.9
  },
  "luminance": 0.17905
}

Semantic roles & 50–950 ramp

primary
#8B58E1
secondary
#D1E4B1
accent
#D2148B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B58E1

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

Preview Lab → · Contrast checker → · Palette generator →

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