#8B59C8#8B59C8

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

Color values

HEX#8B59C8
RGBrgb(139, 89, 200)
HSLhsl(267, 50%, 57%)
HSVhsv(267, 56%, 78%)
CMYKcmyk(30.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(48.01, 42.91, -50.42)
CIE-LCHlch(48.01, 66.21, 310.40°)
OKLaboklab(56.99% 0.0895 -0.1424)
OKLCHoklch(56.99% 0.168 302.1)
XYZxyz(24.6428, 16.8038, 56.5776)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59C8 #96C859
analogous
#595FC8 #8B59C8 #C359C8
triadic
#8B59C8 #C88B59 #59C88B
tetradic
#8B59C8 #C8595F #96C859 #59C8C3
square
#8B59C8 #C8595F #96C859 #59C8C3
split-complementary
#8B59C8 #C8C359 #5FC859
monochromatic
#4F297D #6C39AB #8B59C8 #AB87D7 #CBB5E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B59C8#FFFFFF#000000##FFFFFF
##8B59C81.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)
#2D71CC
Deuteranopia (green-blind)
#3F72C5
Tritanopia (blue-blind)
#7F6F88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b59c8;
/* rgb */ color: rgb(139, 89, 200);
/* oklch */ color: oklch(57.0% 0.168 302.1);
Tailwind
colors: {
  custom: {
    50: '#b08ad9',
    500: '#8b59c8',
    950: '#000000',
  },
}
SCSS
$custom: #8b59c8;
$custom-light: #b08ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59c8",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 267.027,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56989,
    "c": 0.16816,
    "h": 302.1
  },
  "luminance": 0.16804
}

Semantic roles & 50–950 ramp

primary
#8B59C8
secondary
#C1D5A8
accent
#DA4E9B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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