#8B58CB#8B58CB

#8B58CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.173 H 301.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8B58CB
RGBrgb(139, 88, 203)
HSLhsl(267, 53%, 57%)
HSVhsv(267, 57%, 80%)
CMYKcmyk(31.5%, 56.7%, 0%, 20.4%)
CIE-LABlab(47.98, 44.21, -52.20)
CIE-LCHlch(47.98, 68.40, 310.26°)
OKLaboklab(57.02% 0.0908 -0.1476)
OKLCHoklch(57.02% 0.173 301.6)
XYZxyz(24.9142, 16.7801, 58.4147)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58CB #98CB58
analogous
#585FCB #8B58CB #C558CB
triadic
#8B58CB #CB8B58 #58CB8B
tetradic
#8B58CB #CB585F #98CB58 #58CBC5
square
#8B58CB #CB585F #98CB58 #58CBC5
split-complementary
#8B58CB #CBC558 #5FCB58
monochromatic
#4F2881 #6C37AF #8B58CB #AB87DA #CCB5E8

Accessibility & contrast

On white

4.82
#8B58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8B58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B58CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58CB#FFFFFF#000000##FFFFFF
##8B58CB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2671CF
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#7E6F89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b58cb;
/* rgb */ color: rgb(139, 88, 203);
/* oklch */ color: oklch(57.0% 0.173 301.6);
Tailwind
colors: {
  custom: {
    50: '#b089db',
    500: '#8b58cb',
    950: '#000000',
  },
}
SCSS
$custom: #8b58cb;
$custom-light: #b089db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58cb",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 266.609,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.17329,
    "h": 301.6
  },
  "luminance": 0.1678
}

Semantic roles & 50–950 ramp

primary
#8B58CB
secondary
#C2D7A8
accent
#DC4C9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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