#8B58BF#8B58BF

#8B58BF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.3% C 0.159 H 304.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B58BF
RGBrgb(139, 88, 191)
HSLhsl(270, 45%, 55%)
HSVhsv(270, 54%, 75%)
CMYKcmyk(27.2%, 53.9%, 0%, 25.1%)
CIE-LABlab(47.27, 41.26, -46.40)
CIE-LCHlch(47.27, 62.09, 311.64°)
OKLaboklab(56.28% 0.0904 -0.1306)
OKLCHoklch(56.28% 0.159 304.7)
XYZxyz(23.5391, 16.2301, 51.1728)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58BF #8CBF58
analogous
#5858BF #8B58BF #BF58BF
triadic
#8B58BF #BF8B58 #58BF8B
tetradic
#8B58BF #BF5858 #8CBF58 #58BFBF
square
#8B58BF #BF5858 #8CBF58 #58BFBF
split-complementary
#8B58BF #BFBF58 #58BF58
monochromatic
#4E2B71 #6C3C9D #8B58BF #AA84D0 #C8B0E1

Accessibility & contrast

On white

4.95
#8B58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8B58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B58BF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58BF#FFFFFF#000000##FFFFFF
##8B58BF1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356FC2
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#826B83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b58bf;
/* rgb */ color: rgb(139, 88, 191);
/* oklch */ color: oklch(56.3% 0.159 304.7);
Tailwind
colors: {
  custom: {
    50: '#b089d3',
    500: '#8b58bf',
    950: '#000000',
  },
}
SCSS
$custom: #8b58bf;
$custom-light: #b089d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58bf",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 269.709,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.15883,
    "h": 304.7
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#8B58BF
secondary
#BACFA4
accent
#D45495
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8B58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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