#8E5EEF#8E5EEF

#8E5EEF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.6% C 0.208 H 294.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8E5EEF
RGBrgb(142, 94, 239)
HSLhsl(260, 82%, 65%)
HSVhsv(260, 61%, 94%)
CMYKcmyk(40.6%, 60.7%, 0%, 6.3%)
CIE-LABlab(51.82, 50.85, -66.41)
CIE-LCHlch(51.82, 83.64, 307.44°)
OKLaboklab(60.64% 0.0868 -0.1893)
OKLCHoklch(60.64% 0.208 294.6)
XYZxyz(30.7339, 19.9875, 83.8833)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EEF #BFEF5E
analogous
#5E76EF #8E5EEF #D65EEF
triadic
#8E5EEF #EF8E5E #5EEF8E
tetradic
#8E5EEF #EF5E76 #BFEF5E #5EEFD6
square
#8E5EEF #EF5E76 #BFEF5E #5EEFD6
split-complementary
#8E5EEF #EFD65E #76EF5E
monochromatic
#4C13C0 #6726E9 #8E5EEF #B596F5 #DCCDFA

Accessibility & contrast

On white

4.20
#8E5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8E5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EEF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EEF#FFFFFF#000000##000000
##8E5EEF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#757E9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e5eef;
/* rgb */ color: rgb(142, 94, 239);
/* oklch */ color: oklch(60.6% 0.208 294.6);
Tailwind
colors: {
  custom: {
    50: '#b58ef5',
    500: '#8e5eef',
    950: '#000000',
  },
}
SCSS
$custom: #8e5eef;
$custom-light: #b58ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5eef",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 259.862,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60639,
    "c": 0.20822,
    "h": 294.6
  },
  "luminance": 0.19988
}

Semantic roles & 50–950 ramp

primary
#8E5EEF
secondary
#DDEDBC
accent
#DE0797
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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