#8E59BB#8E59BB

#8E59BB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.153 H 307.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8E59BB
RGBrgb(142, 89, 187)
HSLhsl(272, 42%, 54%)
HSVhsv(272, 52%, 73%)
CMYKcmyk(24.1%, 52.4%, 0%, 26.7%)
CIE-LABlab(47.60, 40.54, -43.54)
CIE-LCHlch(47.60, 59.49, 312.96°)
OKLaboklab(56.52% 0.0926 -0.1222)
OKLCHoklch(56.52% 0.153 307.2)
XYZxyz(23.6955, 16.4836, 48.9374)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59BB #86BB59
analogous
#5D59BB #8E59BB #BB59B7
triadic
#8E59BB #BB8E59 #59BB8E
tetradic
#8E59BB #BB5D59 #86BB59 #59B7BB
square
#8E59BB #BB5D59 #86BB59 #59B7BB
split-complementary
#8E59BB #B7BB59 #59BB5D
monochromatic
#4F2D6D #6F3E98 #8E59BB #AC84CD #C9B0DF

Accessibility & contrast

On white

4.89
#8E59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8E59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E59BB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59BB#FFFFFF#000000##FFFFFF
##8E59BB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#4C71B9
Tritanopia (blue-blind)
#876A81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e59bb;
/* rgb */ color: rgb(142, 89, 187);
/* oklch */ color: oklch(56.5% 0.153 307.2);
Tailwind
colors: {
  custom: {
    50: '#b189d0',
    500: '#8e59bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e59bb;
$custom-light: #b189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59bb",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 272.449,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.15328,
    "h": 307.2
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

primary
#8E59BB
secondary
#B6CDA3
accent
#D2568F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8E59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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