#8E44C2#8E44C2

#8E44C2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.0% C 0.193 H 308.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8E44C2
RGBrgb(142, 68, 194)
HSLhsl(275, 51%, 51%)
HSVhsv(275, 65%, 76%)
CMYKcmyk(26.8%, 64.9%, 0%, 23.9%)
CIE-LABlab(43.92, 53.13, -53.51)
CIE-LCHlch(43.92, 75.40, 314.80°)
OKLaboklab(53.96% 0.1192 -0.1513)
OKLCHoklch(53.96% 0.193 308.2)
XYZxyz(22.9581, 13.7804, 52.4789)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E44C2 #78C244
analogous
#4F44C2 #8E44C2 #C244B7
triadic
#8E44C2 #C28E44 #44C28E
tetradic
#8E44C2 #C24F44 #78C244 #44B7C2
square
#8E44C2 #C24F44 #78C244 #44B7C2
split-complementary
#8E44C2 #B7C244 #44C24F
monochromatic
#4C2269 #6D3197 #8E44C2 #AA72D1 #C6A0E0

Accessibility & contrast

On white

5.59
#8E44C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8E44C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E44C2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E44C2#FFFFFF#000000##FFFFFF
##8E44C21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#2D69BF
Tritanopia (blue-blind)
#865E7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e44c2;
/* rgb */ color: rgb(142, 68, 194);
/* oklch */ color: oklch(54.0% 0.193 308.2);
Tailwind
colors: {
  custom: {
    50: '#b37dd5',
    500: '#8e44c2',
    950: '#000000',
  },
}
SCSS
$custom: #8e44c2;
$custom-light: #b37dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e44c2",
  "rgb": {
    "r": 142,
    "g": 68,
    "b": 194
  },
  "hsl": {
    "h": 275.238,
    "s": 50.806,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.19261,
    "h": 308.2
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#8E44C2
secondary
#ACCD95
accent
#DA4E88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E44C2

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

Preview Lab → · Contrast checker → · Palette generator →

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