#8E44D2#8E44D2

#8E44D2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.210 H 304.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8E44D2
RGBrgb(142, 68, 210)
HSLhsl(271, 61%, 55%)
HSVhsv(271, 68%, 82%)
CMYKcmyk(32.4%, 67.6%, 0%, 17.6%)
CIE-LABlab(45.00, 56.82, -61.01)
CIE-LCHlch(45.00, 83.37, 312.96°)
OKLaboklab(55.08% 0.1177 -0.1733)
OKLCHoklch(55.08% 0.21 304.2)
XYZxyz(24.8527, 14.5383, 62.4571)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44D2 #88D244
analogous
#4744D2 #8E44D2 #D244CF
triadic
#8E44D2 #D28E44 #44D28E
tetradic
#8E44D2 #D24744 #88D244 #44CFD2
square
#8E44D2 #D24744 #88D244 #44CFD2
split-complementary
#8E44D2 #CFD244 #44D247
monochromatic
#501E7D #6F2AAF #8E44D2 #AC75DE #CAA7EA

Accessibility & contrast

On white

5.37
#8E44D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8E44D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44D2#FFFFFF#000000##FFFFFF
##8E44D21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#076ACF
Tritanopia (blue-blind)
#816486
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e44d2;
/* rgb */ color: rgb(142, 68, 210);
/* oklch */ color: oklch(55.1% 0.210 304.2);
Tailwind
colors: {
  custom: {
    50: '#b47de1',
    500: '#8e44d2',
    950: '#000000',
  },
}
SCSS
$custom: #8e44d2;
$custom-light: #b47de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44d2",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 271.268,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55081,
    "c": 0.20951,
    "h": 304.2
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#8E44D2
secondary
#B8D79B
accent
#E44391
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E44D2

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

Preview Lab → · Contrast checker → · Palette generator →

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