#8E44BB#8E44BB

#8E44BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.185 H 310.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8E44BB
RGBrgb(142, 68, 187)
HSLhsl(277, 47%, 50%)
HSVhsv(277, 64%, 73%)
CMYKcmyk(24.1%, 63.6%, 0%, 26.7%)
CIE-LABlab(43.47, 51.55, -50.14)
CIE-LCHlch(43.47, 71.92, 315.79°)
OKLaboklab(53.5% 0.1196 -0.1414)
OKLCHoklch(53.5% 0.185 310.2)
XYZxyz(22.1904, 13.4733, 48.4357)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44BB #71BB44
analogous
#5244BB #8E44BB #BB44AD
triadic
#8E44BB #BB8E44 #44BB8E
tetradic
#8E44BB #BB5244 #71BB44 #44ADBB
square
#8E44BB #BB5244 #71BB44 #44ADBB
split-complementary
#8E44BB #ADBB44 #44BB52
monochromatic
#4A2361 #6C348E #8E44BB #A971CB #C49EDC

Accessibility & contrast

On white

5.68
#8E44BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8E44BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44BB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44BB#FFFFFF#000000##FFFFFF
##8E44BB1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0163BF
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#885C79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e44bb;
/* rgb */ color: rgb(142, 68, 187);
/* oklch */ color: oklch(53.5% 0.185 310.2);
Tailwind
colors: {
  custom: {
    50: '#b37cd0',
    500: '#8e44bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e44bb;
$custom-light: #b37cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44bb",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 187
  },
  "hsl": {
    "h": 277.311,
    "s": 46.667,
    "l": 50
  },
  "oklch": {
    "l": 0.53497,
    "c": 0.18522,
    "h": 310.2
  },
  "luminance": 0.13473
}

Semantic roles & 50–950 ramp

primary
#8E44BB
secondary
#A7C893
accent
#D65184
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E44BB

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

Preview Lab → · Contrast checker → · Palette generator →

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