#8E50E7#8E50E7

#8E50E7 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.217 H 298.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8E50E7
RGBrgb(142, 80, 231)
HSLhsl(265, 76%, 61%)
HSVhsv(265, 65%, 91%)
CMYKcmyk(38.5%, 65.4%, 0%, 9.4%)
CIE-LABlab(48.58, 56.07, -67.16)
CIE-LCHlch(48.58, 87.49, 309.86°)
OKLaboklab(58.12% 0.1025 -0.1914)
OKLCHoklch(58.12% 0.217 298.2)
XYZxyz(28.4441, 17.2572, 77.4182)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50E7 #A9E750
analogous
#505DE7 #8E50E7 #D950E7
triadic
#8E50E7 #E78E50 #50E78E
tetradic
#8E50E7 #E7505D #A9E750 #50E7D9
square
#8E50E7 #E7505D #A9E750 #50E7D9
split-complementary
#8E50E7 #E7D950 #5DE750
monochromatic
#5217A6 #6C1EDC #8E50E7 #B186EE #D4BCF6

Accessibility & contrast

On white

4.72
#8E50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8E50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50E7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50E7#FFFFFF#000000##FFFFFF
##8E50E71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#797395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e50e7;
/* rgb */ color: rgb(142, 80, 231);
/* oklch */ color: oklch(58.1% 0.217 298.2);
Tailwind
colors: {
  custom: {
    50: '#b585f0',
    500: '#8e50e7',
    950: '#000000',
  },
}
SCSS
$custom: #8e50e7;
$custom-light: #b585f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50e7",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 264.636,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5812,
    "c": 0.21718,
    "h": 298.2
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#8E50E7
secondary
#CEE6AD
accent
#D80D85
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8E50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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