#8E44D5#8E44D5

#8E44D5 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.213 H 303.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8E44D5
RGBrgb(142, 68, 213)
HSLhsl(271, 63%, 55%)
HSVhsv(271, 68%, 84%)
CMYKcmyk(33.3%, 68.1%, 0%, 16.5%)
CIE-LABlab(45.21, 57.52, -62.39)
CIE-LCHlch(45.21, 84.86, 312.67°)
OKLaboklab(55.3% 0.1173 -0.1774)
OKLCHoklch(55.3% 0.213 303.5)
XYZxyz(25.2299, 14.6892, 64.4440)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44D5 #8BD544
analogous
#4644D5 #8E44D5 #D544D3
triadic
#8E44D5 #D58E44 #44D58E
tetradic
#8E44D5 #D54644 #8BD544 #44D3D5
square
#8E44D5 #D54644 #8BD544 #44D3D5
split-complementary
#8E44D5 #D3D544 #44D546
monochromatic
#501D82 #6F28B3 #8E44D5 #AC76E0 #CAA8EB

Accessibility & contrast

On white

5.33
#8E44D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8E44D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44D5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44D5#FFFFFF#000000##FFFFFF
##8E44D51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#806587
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e44d5;
/* rgb */ color: rgb(142, 68, 213);
/* oklch */ color: oklch(55.3% 0.213 303.5);
Tailwind
colors: {
  custom: {
    50: '#b47de3',
    500: '#8e44d5',
    950: '#000000',
  },
}
SCSS
$custom: #8e44d5;
$custom-light: #b47de3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44d5",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 213
  },
  "hsl": {
    "h": 270.621,
    "s": 63.319,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55298,
    "c": 0.21267,
    "h": 303.5
  },
  "luminance": 0.14689
}

Semantic roles & 50–950 ramp

primary
#8E44D5
secondary
#BAD99C
accent
#E64192
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8E44D5

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

Preview Lab → · Contrast checker → · Palette generator →

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