#8B58CD#8B58CD

#8B58CD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.176 H 301.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8B58CD
RGBrgb(139, 88, 205)
HSLhsl(266, 54%, 57%)
HSVhsv(266, 57%, 80%)
CMYKcmyk(32.2%, 57.1%, 0%, 19.6%)
CIE-LABlab(48.10, 44.71, -53.15)
CIE-LCHlch(48.10, 69.45, 310.07°)
OKLaboklab(57.15% 0.0908 -0.1504)
OKLCHoklch(57.15% 0.176 301.1)
XYZxyz(25.1540, 16.8761, 59.6780)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58CD #9ACD58
analogous
#585FCD #8B58CD #C658CD
triadic
#8B58CD #CD8B58 #58CD8B
tetradic
#8B58CD #CD585F #9ACD58 #58CDC6
square
#8B58CD #CD585F #9ACD58 #58CDC6
split-complementary
#8B58CD #CDC658 #5FCD58
monochromatic
#4F2783 #6C35B2 #8B58CD #AC87DB #CCB6E9

Accessibility & contrast

On white

4.80
#8B58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8B58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B58CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58CD#FFFFFF#000000##FFFFFF
##8B58CD1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2372D1
Deuteranopia (green-blind)
#3872CA
Tritanopia (blue-blind)
#7E708A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b58cd;
/* rgb */ color: rgb(139, 88, 205);
/* oklch */ color: oklch(57.2% 0.176 301.1);
Tailwind
colors: {
  custom: {
    50: '#b189dd',
    500: '#8b58cd',
    950: '#000000',
  },
}
SCSS
$custom: #8b58cd;
$custom-light: #b189dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58cd",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 266.154,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57153,
    "c": 0.17569,
    "h": 301.1
  },
  "luminance": 0.16876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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