#8E5EEE#8E5EEE

#8E5EEE is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.207 H 294.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8E5EEE
RGBrgb(142, 94, 238)
HSLhsl(260, 81%, 65%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(40.3%, 60.5%, 0%, 6.7%)
CIE-LABlab(51.76, 50.58, -65.96)
CIE-LCHlch(51.76, 83.12, 307.49°)
OKLaboklab(60.57% 0.0869 -0.1879)
OKLCHoklch(60.57% 0.207 294.8)
XYZxyz(30.5866, 19.9285, 83.1074)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5EEE #BEEE5E
analogous
#5E76EE #8E5EEE #D65EEE
triadic
#8E5EEE #EE8E5E #5EEE8E
tetradic
#8E5EEE #EE5E76 #BEEE5E #5EEED6
square
#8E5EEE #EE5E76 #BEEE5E #5EEED6
split-complementary
#8E5EEE #EED65E #76EE5E
monochromatic
#4D14BE #6727E8 #8E5EEE #B595F4 #DCCDFA

Accessibility & contrast

On white

4.21
#8E5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8E5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5EEE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5EEE#FFFFFF#000000##000000
##8E5EEE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#0379EB
Tritanopia (blue-blind)
#757E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e5eee;
/* rgb */ color: rgb(142, 94, 238);
/* oklch */ color: oklch(60.6% 0.207 294.8);
Tailwind
colors: {
  custom: {
    50: '#b58ef4',
    500: '#8e5eee',
    950: '#000000',
  },
}
SCSS
$custom: #8e5eee;
$custom-light: #b58ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5eee",
  "rgb": {
    "r": 142,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 260,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.20703,
    "h": 294.8
  },
  "luminance": 0.19929
}

Semantic roles & 50–950 ramp

primary
#8E5EEE
secondary
#DCECBB
accent
#DD0896
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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