#8E44D8#8E44D8

#8E44D8 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.216 H 302.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8E44D8
RGBrgb(142, 68, 216)
HSLhsl(270, 65%, 56%)
HSVhsv(270, 69%, 85%)
CMYKcmyk(34.3%, 68.5%, 0%, 15.3%)
CIE-LABlab(45.42, 58.23, -63.77)
CIE-LCHlch(45.42, 86.35, 312.40°)
OKLaboklab(55.52% 0.1169 -0.1814)
OKLCHoklch(55.52% 0.216 302.8)
XYZxyz(25.6142, 14.8429, 66.4680)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44D8 #8ED844
analogous
#4444D8 #8E44D8 #D844D8
triadic
#8E44D8 #D88E44 #44D88E
tetradic
#8E44D8 #D84444 #8ED844 #44D8D8
square
#8E44D8 #D84444 #8ED844 #44D8D8
split-complementary
#8E44D8 #D8D844 #44D844
monochromatic
#511C86 #6F26B8 #8E44D8 #AD77E3 #CBA9ED

Accessibility & contrast

On white

5.29
#8E44D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8E44D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44D8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44D8#FFFFFF#000000##FFFFFF
##8E44D81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#7F6689
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e44d8;
/* rgb */ color: rgb(142, 68, 216);
/* oklch */ color: oklch(55.5% 0.216 302.8);
Tailwind
colors: {
  custom: {
    50: '#b57de5',
    500: '#8e44d8',
    950: '#000000',
  },
}
SCSS
$custom: #8e44d8;
$custom-light: #b57de5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44d8",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 216
  },
  "hsl": {
    "h": 270,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.21583,
    "h": 302.8
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#8E44D8
secondary
#BCDB9D
accent
#E83F94
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E44D8

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

Preview Lab → · Contrast checker → · Palette generator →

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