#8E44DE#8E44DE

#8E44DE is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.0% C 0.222 H 301.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8E44DE
RGBrgb(142, 68, 222)
HSLhsl(269, 70%, 57%)
HSVhsv(269, 69%, 87%)
CMYKcmyk(36%, 69.4%, 0%, 12.9%)
CIE-LABlab(45.85, 59.65, -66.49)
CIE-LCHlch(45.85, 89.32, 311.90°)
OKLaboklab(55.96% 0.116 -0.1894)
OKLCHoklch(55.96% 0.222 301.5)
XYZxyz(26.4041, 15.1588, 70.6280)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44DE #94DE44
analogous
#4447DE #8E44DE #DB44DE
triadic
#8E44DE #DE8E44 #44DE8E
tetradic
#8E44DE #DE4447 #94DE44 #44DEDB
square
#8E44DE #DE4447 #94DE44 #44DEDB
split-complementary
#8E44DE #DEDB44 #47DE44
monochromatic
#52198E #6F22C2 #8E44DE #AD78E7 #CDACF0

Accessibility & contrast

On white

5.21
#8E44DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8E44DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44DE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44DE#FFFFFF#000000##FFFFFF
##8E44DE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#7D698C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e44de;
/* rgb */ color: rgb(142, 68, 222);
/* oklch */ color: oklch(56.0% 0.222 301.5);
Tailwind
colors: {
  custom: {
    50: '#b57ee9',
    500: '#8e44de',
    950: '#000000',
  },
}
SCSS
$custom: #8e44de;
$custom-light: #b57ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44de",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 222
  },
  "hsl": {
    "h": 268.831,
    "s": 70,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55962,
    "c": 0.22213,
    "h": 301.5
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#8E44DE
secondary
#C0DE9F
accent
#ED3B97
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E44DE

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

Preview Lab → · Contrast checker → · Palette generator →

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