#8B59EF#8B59EF

#8B59EF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.215 H 294.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8B59EF
RGBrgb(139, 89, 239)
HSLhsl(260, 82%, 64%)
HSVhsv(260, 63%, 94%)
CMYKcmyk(41.8%, 62.8%, 0%, 6.3%)
CIE-LABlab(50.53, 52.90, -68.52)
CIE-LCHlch(50.53, 86.56, 307.67°)
OKLaboklab(59.63% 0.0883 -0.1956)
OKLCHoklch(59.63% 0.215 294.3)
XYZxyz(29.7956, 18.8650, 83.7161)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59EF #BDEF59
analogous
#5972EF #8B59EF #D659EF
triadic
#8B59EF #EF8B59 #59EF8B
tetradic
#8B59EF #EF5972 #BDEF59 #59EFD6
square
#8B59EF #EF5972 #BDEF59 #59EFD6
split-complementary
#8B59EF #EFD659 #72EF59
monochromatic
#4B12BC #6421EA #8B59EF #B291F4 #D9C9FA

Accessibility & contrast

On white

4.40
#8B59EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8B59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B59EF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B59EF#FFFFFF#000000##000000
##8B59EF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#707C9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b59ef;
/* rgb */ color: rgb(139, 89, 239);
/* oklch */ color: oklch(59.6% 0.215 294.3);
Tailwind
colors: {
  custom: {
    50: '#b38af5',
    500: '#8b59ef',
    950: '#000000',
  },
}
SCSS
$custom: #8b59ef;
$custom-light: #b38af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59ef",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 260,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59629,
    "c": 0.21456,
    "h": 294.3
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

primary
#8B59EF
secondary
#DBECB8
accent
#DF0797
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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