#8B59CC#8B59CC

#8B59CC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.173 H 301.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8B59CC
RGBrgb(139, 89, 204)
HSLhsl(266, 53%, 57%)
HSVhsv(266, 56%, 80%)
CMYKcmyk(31.9%, 56.4%, 0%, 20%)
CIE-LABlab(48.25, 43.91, -52.34)
CIE-LCHlch(48.25, 68.32, 309.99°)
OKLaboklab(57.24% 0.0896 -0.148)
OKLCHoklch(57.24% 0.173 301.2)
XYZxyz(25.1164, 16.9933, 59.0718)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59CC #9ACC59
analogous
#5961CC #8B59CC #C459CC
triadic
#8B59CC #CC8B59 #59CC8B
tetradic
#8B59CC #CC5961 #9ACC59 #59CCC4
square
#8B59CC #CC5961 #9ACC59 #59CCC4
split-complementary
#8B59CC #CCC459 #61CC59
monochromatic
#4F2883 #6C36B1 #8B59CC #AC88DA #CCB7E9

Accessibility & contrast

On white

4.77
#8B59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8B59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B59CC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B59CC#FFFFFF#000000##FFFFFF
##8B59CC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2872D0
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#7E708A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b59cc;
/* rgb */ color: rgb(139, 89, 204);
/* oklch */ color: oklch(57.2% 0.173 301.2);
Tailwind
colors: {
  custom: {
    50: '#b08adc',
    500: '#8b59cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b59cc;
$custom-light: #b08adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59cc",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 266.087,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57242,
    "c": 0.173,
    "h": 301.2
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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