#8E50C8#8E50C8

#8E50C8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.182 H 305.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8E50C8
RGBrgb(142, 80, 200)
HSLhsl(271, 52%, 55%)
HSVhsv(271, 60%, 78%)
CMYKcmyk(29%, 60%, 0%, 21.6%)
CIE-LABlab(46.52, 48.48, -52.79)
CIE-LCHlch(46.52, 71.68, 312.56°)
OKLaboklab(55.97% 0.1047 -0.1492)
OKLCHoklch(55.97% 0.182 305)
XYZxyz(24.4470, 15.6584, 56.3668)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50C8 #8AC850
analogous
#5250C8 #8E50C8 #C850C6
triadic
#8E50C8 #C88E50 #50C88E
tetradic
#8E50C8 #C85250 #8AC850 #50C6C8
square
#8E50C8 #C85250 #8AC850 #50C6C8
split-complementary
#8E50C8 #C6C850 #50C852
monochromatic
#502678 #6F34A6 #8E50C8 #AC7FD7 #CAADE5

Accessibility & contrast

On white

5.08
#8E50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8E50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50C8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50C8#FFFFFF#000000##FFFFFF
##8E50C81.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156CCC
Deuteranopia (green-blind)
#366EC5
Tritanopia (blue-blind)
#846884
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e50c8;
/* rgb */ color: rgb(142, 80, 200);
/* oklch */ color: oklch(56.0% 0.182 305.0);
Tailwind
colors: {
  custom: {
    50: '#b384d9',
    500: '#8e50c8',
    950: '#000000',
  },
}
SCSS
$custom: #8e50c8;
$custom-light: #b384d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50c8",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 271,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55975,
    "c": 0.18227,
    "h": 305
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#8E50C8
secondary
#B9D3A1
accent
#DC4C92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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