#8B59CB#8B59CB

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

Color values

HEX#8B59CB
RGBrgb(139, 89, 203)
HSLhsl(266, 52%, 57%)
HSVhsv(266, 56%, 80%)
CMYKcmyk(31.5%, 56.2%, 0%, 20.4%)
CIE-LABlab(48.19, 43.66, -51.86)
CIE-LCHlch(48.19, 67.79, 310.09°)
OKLaboklab(57.18% 0.0895 -0.1466)
OKLCHoklch(57.18% 0.172 301.4)
XYZxyz(24.9968, 16.9454, 58.4422)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59CB #99CB59
analogous
#5960CB #8B59CB #C459CB
triadic
#8B59CB #CB8B59 #59CB8B
tetradic
#8B59CB #CB5960 #99CB59 #59CBC4
square
#8B59CB #CB5960 #99CB59 #59CBC4
split-complementary
#8B59CB #CBC459 #60CB59
monochromatic
#4F2881 #6C37B0 #8B59CB #AC88DA #CCB6E8

Accessibility & contrast

On white

4.78
#8B59CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8B59CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B59CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B59CB#FFFFFF#000000##FFFFFF
##8B59CB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2972CF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#7E7089
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b59cb;
/* rgb */ color: rgb(139, 89, 203);
/* oklch */ color: oklch(57.2% 0.172 301.4);
Tailwind
colors: {
  custom: {
    50: '#b08adb',
    500: '#8b59cb',
    950: '#000000',
  },
}
SCSS
$custom: #8b59cb;
$custom-light: #b08adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59cb",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 266.316,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57178,
    "c": 0.17179,
    "h": 301.4
  },
  "luminance": 0.16946
}

Semantic roles & 50–950 ramp

primary
#8B59CB
secondary
#C3D7A9
accent
#DC4C9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B59CB

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

Preview Lab → · Contrast checker → · Palette generator →

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