#8E4EEB#8E4EEB

#8E4EEB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.224 H 297.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8E4EEB
RGBrgb(142, 78, 235)
HSLhsl(264, 80%, 61%)
HSVhsv(264, 67%, 92%)
CMYKcmyk(39.6%, 66.8%, 0%, 7.8%)
CIE-LABlab(48.51, 58.06, -69.54)
CIE-LCHlch(48.51, 90.59, 309.86°)
OKLaboklab(58.16% 0.1041 -0.1984)
OKLCHoklch(58.16% 0.224 297.7)
XYZxyz(28.8713, 17.1973, 80.3794)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EEB #ABEB4E
analogous
#4E5DEB #8E4EEB #DD4EEB
triadic
#8E4EEB #EB8E4E #4EEB8E
tetradic
#8E4EEB #EB4E5D #ABEB4E #4EEBDD
square
#8E4EEB #EB4E5D #ABEB4E #4EEBDD
split-complementary
#8E4EEB #EBDD4E #5DEB4E
monochromatic
#5113AB #6B1AE2 #8E4EEB #B185F1 #D4BCF7

Accessibility & contrast

On white

4.73
#8E4EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8E4EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4EEB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4EEB#FFFFFF#000000##FFFFFF
##8E4EEB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#777396
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e4eeb;
/* rgb */ color: rgb(142, 78, 235);
/* oklch */ color: oklch(58.2% 0.224 297.7);
Tailwind
colors: {
  custom: {
    50: '#b684f2',
    500: '#8e4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #8e4eeb;
$custom-light: #b684f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4eeb",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 264.459,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58156,
    "c": 0.22407,
    "h": 297.7
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#8E4EEB
secondary
#D0E8AD
accent
#DC0986
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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