#8E59EF#8E59EF

#8E59EF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.9% C 0.215 H 295.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8E59EF
RGBrgb(142, 89, 239)
HSLhsl(261, 82%, 64%)
HSVhsv(261, 63%, 94%)
CMYKcmyk(40.6%, 62.8%, 0%, 6.3%)
CIE-LABlab(50.84, 53.49, -68.01)
CIE-LCHlch(50.84, 86.52, 308.19°)
OKLaboklab(59.92% 0.0922 -0.194)
OKLCHoklch(59.92% 0.215 295.4)
XYZxyz(30.3036, 19.1269, 83.7399)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59EF #BAEF59
analogous
#596FEF #8E59EF #D959EF
triadic
#8E59EF #EF8E59 #59EF8E
tetradic
#8E59EF #EF596F #BAEF59 #59EFD9
square
#8E59EF #EF596F #BAEF59 #59EFD9
split-complementary
#8E59EF #EFD959 #6FEF59
monochromatic
#4E12BC #6821EA #8E59EF #B491F4 #DAC9FA

Accessibility & contrast

On white

4.35
#8E59EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8E59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E59EF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59EF#FFFFFF#000000##000000
##8E59EF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#757B9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e59ef;
/* rgb */ color: rgb(142, 89, 239);
/* oklch */ color: oklch(59.9% 0.215 295.4);
Tailwind
colors: {
  custom: {
    50: '#b58bf5',
    500: '#8e59ef',
    950: '#000000',
  },
}
SCSS
$custom: #8e59ef;
$custom-light: #b58bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59ef",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 261.2,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.21477,
    "h": 295.4
  },
  "luminance": 0.19128
}

Semantic roles & 50–950 ramp

primary
#8E59EF
secondary
#DAECB8
accent
#DF0792
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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