#8E44D6#8E44D6

#8E44D6 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.214 H 303.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8E44D6
RGBrgb(142, 68, 214)
HSLhsl(270, 64%, 55%)
HSVhsv(270, 68%, 84%)
CMYKcmyk(33.6%, 68.2%, 0%, 16.1%)
CIE-LABlab(45.28, 57.76, -62.85)
CIE-LCHlch(45.28, 85.36, 312.58°)
OKLaboklab(55.37% 0.1172 -0.1787)
OKLCHoklch(55.37% 0.214 303.2)
XYZxyz(25.3572, 14.7401, 65.1145)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44D6 #8CD644
analogous
#4544D6 #8E44D6 #D644D5
triadic
#8E44D6 #D68E44 #44D68E
tetradic
#8E44D6 #D64544 #8CD644 #44D5D6
square
#8E44D6 #D64544 #8CD644 #44D5D6
split-complementary
#8E44D6 #D5D644 #44D645
monochromatic
#501D83 #6F28B5 #8E44D6 #AC76E1 #CBA8EC

Accessibility & contrast

On white

5.32
#8E44D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8E44D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44D6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44D6#FFFFFF#000000##FFFFFF
##8E44D61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#806688
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e44d6;
/* rgb */ color: rgb(142, 68, 214);
/* oklch */ color: oklch(55.4% 0.214 303.2);
Tailwind
colors: {
  custom: {
    50: '#b47de3',
    500: '#8e44d6',
    950: '#000000',
  },
}
SCSS
$custom: #8e44d6;
$custom-light: #b47de3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44d6",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 214
  },
  "hsl": {
    "h": 270.411,
    "s": 64.035,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.21372,
    "h": 303.2
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#8E44D6
secondary
#BAD99C
accent
#E74193
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E44D6

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

Preview Lab → · Contrast checker → · Palette generator →

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