#8E4EE7#8E4EE7

#8E4EE7 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.220 H 298.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8E4EE7
RGBrgb(142, 78, 231)
HSLhsl(265, 76%, 61%)
HSVhsv(265, 66%, 91%)
CMYKcmyk(38.5%, 66.2%, 0%, 9.4%)
CIE-LABlab(48.22, 57.06, -67.75)
CIE-LCHlch(48.22, 88.58, 310.11°)
OKLaboklab(57.86% 0.1046 -0.1932)
OKLCHoklch(57.86% 0.22 298.4)
XYZxyz(28.2999, 16.9687, 77.3701)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EE7 #A7E74E
analogous
#4E5AE7 #8E4EE7 #DA4EE7
triadic
#8E4EE7 #E78E4E #4EE78E
tetradic
#8E4EE7 #E74E5A #A7E74E #4EE7DA
square
#8E4EE7 #E74E5A #A7E74E #4EE7DA
split-complementary
#8E4EE7 #E7DA4E #5AE74E
monochromatic
#5216A4 #6C1EDA #8E4EE7 #B084EE #D3BAF6

Accessibility & contrast

On white

4.78
#8E4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8E4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4EE7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4EE7#FFFFFF#000000##FFFFFF
##8E4EE71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#797294
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e4ee7;
/* rgb */ color: rgb(142, 78, 231);
/* oklch */ color: oklch(57.9% 0.220 298.4);
Tailwind
colors: {
  custom: {
    50: '#b584f0',
    500: '#8e4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ee7;
$custom-light: #b584f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ee7",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 265.098,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5786,
    "c": 0.21968,
    "h": 298.4
  },
  "luminance": 0.16969
}

Semantic roles & 50–950 ramp

primary
#8E4EE7
secondary
#CDE5AB
accent
#D80D83
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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