#8E59BF#8E59BF

#8E59BF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.158 H 306.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8E59BF
RGBrgb(142, 89, 191)
HSLhsl(271, 44%, 55%)
HSVhsv(271, 53%, 75%)
CMYKcmyk(25.7%, 53.4%, 0%, 25.1%)
CIE-LABlab(47.83, 41.49, -45.51)
CIE-LCHlch(47.83, 61.58, 312.36°)
OKLaboklab(56.76% 0.0929 -0.1279)
OKLCHoklch(56.76% 0.158 306)
XYZxyz(24.1297, 16.6573, 51.2241)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59BF #8ABF59
analogous
#5B59BF #8E59BF #BF59BD
triadic
#8E59BF #BF8E59 #59BF8E
tetradic
#8E59BF #BF5B59 #8ABF59 #59BDBF
square
#8E59BF #BF5B59 #8ABF59 #59BDBF
split-complementary
#8E59BF #BDBF59 #59BF5B
monochromatic
#502C72 #6F3D9E #8E59BF #AC85D0 #CAB1E1

Accessibility & contrast

On white

4.85
#8E59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8E59BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E59BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59BF#FFFFFF#000000##FFFFFF
##8E59BF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C2
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#866C83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e59bf;
/* rgb */ color: rgb(142, 89, 191);
/* oklch */ color: oklch(56.8% 0.158 306.0);
Tailwind
colors: {
  custom: {
    50: '#b28ad3',
    500: '#8e59bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e59bf;
$custom-light: #b28ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59bf",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 271.176,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56759,
    "c": 0.15806,
    "h": 306
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#8E59BF
secondary
#B9CFA4
accent
#D45491
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8E59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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