#8E44D3#8E44D3

#8E44D3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.211 H 303.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8E44D3
RGBrgb(142, 68, 211)
HSLhsl(271, 62%, 55%)
HSVhsv(271, 68%, 83%)
CMYKcmyk(32.7%, 67.8%, 0%, 17.3%)
CIE-LABlab(45.06, 57.05, -61.47)
CIE-LCHlch(45.06, 83.87, 312.86°)
OKLaboklab(55.15% 0.1176 -0.1747)
OKLCHoklch(55.15% 0.211 303.9)
XYZxyz(24.9776, 14.5882, 63.1153)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44D3 #89D344
analogous
#4744D3 #8E44D3 #D344D1
triadic
#8E44D3 #D38E44 #44D38E
tetradic
#8E44D3 #D34744 #89D344 #44D1D3
square
#8E44D3 #D34744 #89D344 #44D1D3
split-complementary
#8E44D3 #D1D344 #44D347
monochromatic
#501E7F #6F29B0 #8E44D3 #AC76DF #CAA7EA

Accessibility & contrast

On white

5.36
#8E44D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8E44D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44D3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44D3#FFFFFF#000000##FFFFFF
##8E44D31.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#026AD0
Tritanopia (blue-blind)
#816486
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e44d3;
/* rgb */ color: rgb(142, 68, 211);
/* oklch */ color: oklch(55.2% 0.211 303.9);
Tailwind
colors: {
  custom: {
    50: '#b47de1',
    500: '#8e44d3',
    950: '#000000',
  },
}
SCSS
$custom: #8e44d3;
$custom-light: #b47de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44d3",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 211
  },
  "hsl": {
    "h": 271.049,
    "s": 61.905,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55153,
    "c": 0.21056,
    "h": 303.9
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#8E44D3
secondary
#B8D89B
accent
#E54391
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E44D3

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

Preview Lab → · Contrast checker → · Palette generator →

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