#8E50DF#8E50DF

#8E50DF is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.208 H 299.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8E50DF
RGBrgb(142, 80, 223)
HSLhsl(266, 69%, 59%)
HSVhsv(266, 64%, 87%)
CMYKcmyk(36.3%, 64.1%, 0%, 12.5%)
CIE-LABlab(48.03, 54.08, -63.53)
CIE-LCHlch(48.03, 83.43, 310.41°)
OKLaboklab(57.54% 0.1034 -0.1808)
OKLCHoklch(57.54% 0.208 299.8)
XYZxyz(27.3400, 16.8156, 71.6031)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50DF #A1DF50
analogous
#505ADF #8E50DF #D650DF
triadic
#8E50DF #DF8E50 #50DF8E
tetradic
#8E50DF #DF505A #A1DF50 #50DFD6
square
#8E50DF #DF505A #A1DF50 #50DFD6
split-complementary
#8E50DF #DFD650 #5ADF50
monochromatic
#521C99 #6E25CC #8E50DF #AF84E8 #D1B7F2

Accessibility & contrast

On white

4.81
#8E50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8E50DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50DF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50DF#FFFFFF#000000##FFFFFF
##8E50DF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0171DC
Tritanopia (blue-blind)
#7C7090
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e50df;
/* rgb */ color: rgb(142, 80, 223);
/* oklch */ color: oklch(57.5% 0.208 299.8);
Tailwind
colors: {
  custom: {
    50: '#b485ea',
    500: '#8e50df',
    950: '#000000',
  },
}
SCSS
$custom: #8e50df;
$custom-light: #b485ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50df",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 266.014,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57544,
    "c": 0.20824,
    "h": 299.8
  },
  "luminance": 0.16816
}

Semantic roles & 50–950 ramp

primary
#8E50DF
secondary
#C9E1AA
accent
#EC3CA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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