#8E4EE6#8E4EE6

#8E4EE6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.219 H 298.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8E4EE6
RGBrgb(142, 78, 230)
HSLhsl(265, 75%, 60%)
HSVhsv(265, 66%, 90%)
CMYKcmyk(38.3%, 66.1%, 0%, 9.8%)
CIE-LABlab(48.15, 56.81, -67.30)
CIE-LCHlch(48.15, 88.07, 310.17°)
OKLaboklab(57.79% 0.1047 -0.1918)
OKLCHoklch(57.79% 0.219 298.6)
XYZxyz(28.1590, 16.9124, 76.6284)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EE6 #A6E64E
analogous
#4E5AE6 #8E4EE6 #DA4EE6
triadic
#8E4EE6 #E68E4E #4EE68E
tetradic
#8E4EE6 #E64E5A #A6E64E #4EE6DA
square
#8E4EE6 #E64E5A #A6E64E #4EE6DA
split-complementary
#8E4EE6 #E6DA4E #5AE64E
monochromatic
#5217A3 #6D1FD8 #8E4EE6 #B084EE #D2B9F5

Accessibility & contrast

On white

4.79
#8E4EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8E4EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4EE6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4EE6#FFFFFF#000000##FFFFFF
##8E4EE61.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#797194
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e4ee6;
/* rgb */ color: rgb(142, 78, 230);
/* oklch */ color: oklch(57.8% 0.219 298.6);
Tailwind
colors: {
  custom: {
    50: '#b584ef',
    500: '#8e4ee6',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ee6;
$custom-light: #b584ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ee6",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 265.263,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.21857,
    "h": 298.6
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#8E4EE6
secondary
#CCE5AB
accent
#D70E83
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E4EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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