#8B59BC#8B59BC

#8B59BC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.154 H 305.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8B59BC
RGBrgb(139, 89, 188)
HSLhsl(270, 42%, 54%)
HSVhsv(270, 53%, 74%)
CMYKcmyk(26.1%, 52.7%, 0%, 26.3%)
CIE-LABlab(47.32, 39.97, -44.59)
CIE-LCHlch(47.32, 59.89, 311.88°)
OKLaboklab(56.25% 0.0888 -0.1253)
OKLCHoklch(56.25% 0.154 305.3)
XYZxyz(23.2950, 16.2647, 49.4794)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59BC #8ABC59
analogous
#5A59BC #8B59BC #BC59BC
triadic
#8B59BC #BC8B59 #59BC8B
tetradic
#8B59BC #BC5A59 #8ABC59 #59BCBC
square
#8B59BC #BC5A59 #8ABC59 #59BCBC
split-complementary
#8B59BC #BCBC59 #59BC5A
monochromatic
#4E2C6E #6C3E9A #8B59BC #A985CE #C8B0DF

Accessibility & contrast

On white

4.94
#8B59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8B59BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B59BC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B59BC#FFFFFF#000000##FFFFFF
##8B59BC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#4970BA
Tritanopia (blue-blind)
#836B82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b59bc;
/* rgb */ color: rgb(139, 89, 188);
/* oklch */ color: oklch(56.3% 0.154 305.3);
Tailwind
colors: {
  custom: {
    50: '#af89d1',
    500: '#8b59bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b59bc;
$custom-light: #af89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59bc",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 270.303,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.1536,
    "h": 305.3
  },
  "luminance": 0.16265
}

Semantic roles & 50–950 ramp

primary
#8B59BC
secondary
#B8CDA3
accent
#D25693
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8B59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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