#8E44C5#8E44C5

#8E44C5 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.2% C 0.196 H 307.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8E44C5
RGBrgb(142, 68, 197)
HSLhsl(274, 53%, 52%)
HSVhsv(274, 65%, 77%)
CMYKcmyk(27.9%, 65.5%, 0%, 22.7%)
CIE-LABlab(44.11, 53.81, -54.93)
CIE-LCHlch(44.11, 76.90, 314.41°)
OKLaboklab(54.17% 0.119 -0.1555)
OKLCHoklch(54.17% 0.196 307.4)
XYZxyz(23.2984, 13.9165, 54.2713)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44C5 #7BC544
analogous
#4E44C5 #8E44C5 #C544BB
triadic
#8E44C5 #C58E44 #44C58E
tetradic
#8E44C5 #C54E44 #7BC544 #44BBC5
square
#8E44C5 #C54E44 #7BC544 #44BBC5
split-complementary
#8E44C5 #BBC544 #44C54E
monochromatic
#4D226D #6E309C #8E44C5 #AA73D3 #C6A1E2

Accessibility & contrast

On white

5.55
#8E44C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8E44C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44C5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44C5#FFFFFF#000000##FFFFFF
##8E44C51.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#2969C2
Tritanopia (blue-blind)
#855F7F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e44c5;
/* rgb */ color: rgb(142, 68, 197);
/* oklch */ color: oklch(54.2% 0.196 307.4);
Tailwind
colors: {
  custom: {
    50: '#b37dd7',
    500: '#8e44c5',
    950: '#000000',
  },
}
SCSS
$custom: #8e44c5;
$custom-light: #b37dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44c5",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 197
  },
  "hsl": {
    "h": 274.419,
    "s": 52.653,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54168,
    "c": 0.19578,
    "h": 307.4
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#8E44C5
secondary
#AECF96
accent
#DC4C89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E44C5

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

Preview Lab → · Contrast checker → · Palette generator →

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