#8B58DC#8B58DC

#8B58DC is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.1% C 0.194 H 297.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8B58DC
RGBrgb(139, 88, 220)
HSLhsl(263, 65%, 60%)
HSVhsv(263, 60%, 86%)
CMYKcmyk(36.8%, 60%, 0%, 13.7%)
CIE-LABlab(49.05, 48.50, -60.19)
CIE-LCHlch(49.05, 77.30, 308.86°)
OKLaboklab(58.15% 0.0906 -0.1711)
OKLCHoklch(58.15% 0.194 297.9)
XYZxyz(27.0522, 17.6353, 69.6750)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58DC #A9DC58
analogous
#5867DC #8B58DC #CD58DC
triadic
#8B58DC #DC8B58 #58DC8B
tetradic
#8B58DC #DC5867 #A9DC58 #58DCCD
square
#8B58DC #DC5867 #A9DC58 #58DCCD
split-complementary
#8B58DC #DCCD58 #67DC58
monochromatic
#4F2099 #692BCC #8B58DC #AE8BE7 #D1BDF1

Accessibility & contrast

On white

4.64
#8B58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8B58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B58DC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58DC#FFFFFF#000000##FFFFFF
##8B58DC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2273D9
Tritanopia (blue-blind)
#787492
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b58dc;
/* rgb */ color: rgb(139, 88, 220);
/* oklch */ color: oklch(58.1% 0.194 297.9);
Tailwind
colors: {
  custom: {
    50: '#b289e8',
    500: '#8b58dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b58dc;
$custom-light: #b289e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58dc",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 263.182,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58149,
    "c": 0.19357,
    "h": 297.9
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#8B58DC
secondary
#CEE1AF
accent
#CD1887
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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