#8E4EDB#8E4EDB

#8E4EDB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.206 H 300.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8E4EDB
RGBrgb(142, 78, 219)
HSLhsl(267, 66%, 58%)
HSVhsv(267, 64%, 86%)
CMYKcmyk(35.2%, 64.4%, 0%, 14.1%)
CIE-LABlab(47.38, 54.10, -62.30)
CIE-LCHlch(47.38, 82.51, 310.97°)
OKLaboklab(56.99% 0.1059 -0.1771)
OKLCHoklch(56.99% 0.206 300.9)
XYZxyz(26.6628, 16.3139, 68.7483)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EDB #9BDB4E
analogous
#4E54DB #8E4EDB #D44EDB
triadic
#8E4EDB #DB8E4E #4EDB8E
tetradic
#8E4EDB #DB4E54 #9BDB4E #4EDBD4
square
#8E4EDB #DB4E54 #9BDB4E #4EDBD4
split-complementary
#8E4EDB #DBD44E #54DB4E
monochromatic
#521E91 #6F28C4 #8E4EDB #AE81E5 #CFB4F0

Accessibility & contrast

On white

4.93
#8E4EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8E4EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4EDB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4EDB#FFFFFF#000000##FFFFFF
##8E4EDB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0B70D8
Tritanopia (blue-blind)
#7E6D8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4edb;
/* rgb */ color: rgb(142, 78, 219);
/* oklch */ color: oklch(57.0% 0.206 300.9);
Tailwind
colors: {
  custom: {
    50: '#b483e7',
    500: '#8e4edb',
    950: '#000000',
  },
}
SCSS
$custom: #8e4edb;
$custom-light: #b483e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4edb",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 267.234,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.20639,
    "h": 300.9
  },
  "luminance": 0.16314
}

Semantic roles & 50–950 ramp

primary
#8E4EDB
secondary
#C5DEA6
accent
#E93F9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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