#8E4EDE#8E4EDE

#8E4EDE is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.210 H 300.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8E4EDE
RGBrgb(142, 78, 222)
HSLhsl(267, 69%, 59%)
HSVhsv(267, 65%, 87%)
CMYKcmyk(36%, 64.9%, 0%, 12.9%)
CIE-LABlab(47.59, 54.84, -63.67)
CIE-LCHlch(47.59, 84.03, 310.74°)
OKLaboklab(57.21% 0.1056 -0.1812)
OKLCHoklch(57.21% 0.21 300.2)
XYZxyz(27.0613, 16.4733, 70.8470)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EDE #9EDE4E
analogous
#4E56DE #8E4EDE #D64EDE
triadic
#8E4EDE #DE8E4E #4EDE8E
tetradic
#8E4EDE #DE4E56 #9EDE4E #4EDED6
square
#8E4EDE #DE4E56 #9EDE4E #4EDED6
split-complementary
#8E4EDE #DED64E #56DE4E
monochromatic
#521C96 #6E26C9 #8E4EDE #AF82E8 #D0B5F1

Accessibility & contrast

On white

4.89
#8E4EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8E4EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4EDE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4EDE#FFFFFF#000000##FFFFFF
##8E4EDE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#7C6F8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e4ede;
/* rgb */ color: rgb(142, 78, 222);
/* oklch */ color: oklch(57.2% 0.210 300.2);
Tailwind
colors: {
  custom: {
    50: '#b483e9',
    500: '#8e4ede',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ede;
$custom-light: #b483e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ede",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 266.667,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57207,
    "c": 0.20972,
    "h": 300.2
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#8E4EDE
secondary
#C7E0A8
accent
#EB3C9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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