#8B58CC#8B58CC

#8B58CC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.174 H 301.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8B58CC
RGBrgb(139, 88, 204)
HSLhsl(266, 53%, 57%)
HSVhsv(266, 57%, 80%)
CMYKcmyk(31.9%, 56.9%, 0%, 20%)
CIE-LABlab(48.04, 44.46, -52.67)
CIE-LCHlch(48.04, 68.93, 310.16°)
OKLaboklab(57.09% 0.0908 -0.149)
OKLCHoklch(57.09% 0.174 301.4)
XYZxyz(25.0337, 16.8280, 59.0443)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58CC #99CC58
analogous
#585FCC #8B58CC #C558CC
triadic
#8B58CC #CC8B58 #58CC8B
tetradic
#8B58CC #CC585F #99CC58 #58CCC5
square
#8B58CC #CC585F #99CC58 #58CCC5
split-complementary
#8B58CC #CCC558 #5FCC58
monochromatic
#4F2882 #6C36B1 #8B58CC #AC87DA #CCB6E9

Accessibility & contrast

On white

4.81
#8B58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8B58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B58CC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58CC#FFFFFF#000000##FFFFFF
##8B58CC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571D0
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#7E6F8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b58cc;
/* rgb */ color: rgb(139, 88, 204);
/* oklch */ color: oklch(57.1% 0.174 301.4);
Tailwind
colors: {
  custom: {
    50: '#b189dc',
    500: '#8b58cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b58cc;
$custom-light: #b189dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58cc",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 266.379,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.17449,
    "h": 301.4
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#8B58CC
secondary
#C3D7A8
accent
#DD4B9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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