#8E44D9#8E44D9

#8E44D9 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.217 H 302.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8E44D9
RGBrgb(142, 68, 217)
HSLhsl(270, 66%, 56%)
HSVhsv(270, 69%, 85%)
CMYKcmyk(34.6%, 68.7%, 0%, 14.9%)
CIE-LABlab(45.49, 58.46, -64.22)
CIE-LCHlch(45.49, 86.85, 312.31°)
OKLaboklab(55.59% 0.1168 -0.1828)
OKLCHoklch(55.59% 0.217 302.6)
XYZxyz(25.7439, 14.8947, 67.1509)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44D9 #8FD944
analogous
#4444D9 #8E44D9 #D944D9
triadic
#8E44D9 #D98E44 #44D98E
tetradic
#8E44D9 #D94444 #8FD944 #44D9D9
square
#8E44D9 #D94444 #8FD944 #44D9D9
split-complementary
#8E44D9 #D9D944 #44D944
monochromatic
#511B87 #6F26BA #8E44D9 #AD77E3 #CBAAEE

Accessibility & contrast

On white

5.28
#8E44D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8E44D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44D9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44D9#FFFFFF#000000##FFFFFF
##8E44D91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#7F6789
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e44d9;
/* rgb */ color: rgb(142, 68, 217);
/* oklch */ color: oklch(55.6% 0.217 302.6);
Tailwind
colors: {
  custom: {
    50: '#b57de6',
    500: '#8e44d9',
    950: '#000000',
  },
}
SCSS
$custom: #8e44d9;
$custom-light: #b57de6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44d9",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 217
  },
  "hsl": {
    "h": 269.799,
    "s": 66.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.21688,
    "h": 302.6
  },
  "luminance": 0.14895
}

Semantic roles & 50–950 ramp

primary
#8E44D9
secondary
#BDDB9E
accent
#E93F94
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E44D9

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

Preview Lab → · Contrast checker → · Palette generator →

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