#8B58CF#8B58CF

#8B58CF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.178 H 300.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8B58CF
RGBrgb(139, 88, 207)
HSLhsl(266, 55%, 58%)
HSVhsv(266, 57%, 81%)
CMYKcmyk(32.9%, 57.5%, 0%, 18.8%)
CIE-LABlab(48.23, 45.21, -54.10)
CIE-LCHlch(48.23, 70.50, 309.88°)
OKLaboklab(57.28% 0.0908 -0.1532)
OKLCHoklch(57.28% 0.178 300.7)
XYZxyz(25.3970, 16.9733, 60.9575)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58CF #9CCF58
analogous
#5860CF #8B58CF #C658CF
triadic
#8B58CF #CF8B58 #58CF8B
tetradic
#8B58CF #CF5860 #9CCF58 #58CFC6
square
#8B58CF #CF5860 #9CCF58 #58CFC6
split-complementary
#8B58CF #CFC658 #60CF58
monochromatic
#4F2786 #6C34B6 #8B58CF #AC88DD #CDB7EA

Accessibility & contrast

On white

4.78
#8B58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8B58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B58CF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58CF#FFFFFF#000000##FFFFFF
##8B58CF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2072D3
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#7D708B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b58cf;
/* rgb */ color: rgb(139, 88, 207);
/* oklch */ color: oklch(57.3% 0.178 300.7);
Tailwind
colors: {
  custom: {
    50: '#b189de',
    500: '#8b58cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b58cf;
$custom-light: #b189de;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58cf",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 265.714,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57282,
    "c": 0.17808,
    "h": 300.7
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#8B58CF
secondary
#C5D9AA
accent
#DF499F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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