#8B59EC#8B59EC

#8B59EC is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.211 H 294.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8B59EC
RGBrgb(139, 89, 236)
HSLhsl(260, 79%, 64%)
HSVhsv(260, 62%, 93%)
CMYKcmyk(41.1%, 62.3%, 0%, 7.5%)
CIE-LABlab(50.32, 52.11, -67.17)
CIE-LCHlch(50.32, 85.01, 307.80°)
OKLaboklab(59.41% 0.0885 -0.1916)
OKLCHoklch(59.41% 0.211 294.8)
XYZxyz(29.3561, 18.6892, 81.4013)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59EC #BAEC59
analogous
#5970EC #8B59EC #D459EC
triadic
#8B59EC #EC8B59 #59EC8B
tetradic
#8B59EC #EC5970 #BAEC59 #59ECD4
square
#8B59EC #EC5970 #BAEC59 #59ECD4
split-complementary
#8B59EC #ECD459 #70EC59
monochromatic
#4C15B6 #6522E6 #8B59EC #B190F2 #D8C7F9

Accessibility & contrast

On white

4.43
#8B59EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8B59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B59EC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B59EC#FFFFFF#000000##000000
##8B59EC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#717B9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b59ec;
/* rgb */ color: rgb(139, 89, 236);
/* oklch */ color: oklch(59.4% 0.211 294.8);
Tailwind
colors: {
  custom: {
    50: '#b38af3',
    500: '#8b59ec',
    950: '#000000',
  },
}
SCSS
$custom: #8b59ec;
$custom-light: #b38af3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59ec",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 260.408,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59413,
    "c": 0.21106,
    "h": 294.8
  },
  "luminance": 0.1869
}

Semantic roles & 50–950 ramp

primary
#8B59EC
secondary
#D9EAB6
accent
#DC0A94
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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