#8E50E2#8E50E2

#8E50E2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.212 H 299.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8E50E2
RGBrgb(142, 80, 226)
HSLhsl(265, 72%, 60%)
HSVhsv(265, 65%, 89%)
CMYKcmyk(37.2%, 64.6%, 0%, 11.4%)
CIE-LABlab(48.23, 54.82, -64.90)
CIE-LCHlch(48.23, 84.95, 310.19°)
OKLaboklab(57.76% 0.1031 -0.1848)
OKLCHoklch(57.76% 0.212 299.2)
XYZxyz(27.7480, 16.9788, 73.7521)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50E2 #A4E250
analogous
#505BE2 #8E50E2 #D750E2
triadic
#8E50E2 #E28E50 #50E28E
tetradic
#8E50E2 #E2505B #A4E250 #50E2D7
square
#8E50E2 #E2505B #A4E250 #50E2D7
split-complementary
#8E50E2 #E2D750 #5BE250
monochromatic
#521A9E #6D23D2 #8E50E2 #B084EB #D2B9F3

Accessibility & contrast

On white

4.78
#8E50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8E50E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50E2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50E2#FFFFFF#000000##FFFFFF
##8E50E21.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#7B7192
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e50e2;
/* rgb */ color: rgb(142, 80, 226);
/* oklch */ color: oklch(57.8% 0.212 299.2);
Tailwind
colors: {
  custom: {
    50: '#b585ec',
    500: '#8e50e2',
    950: '#000000',
  },
}
SCSS
$custom: #8e50e2;
$custom-light: #b585ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50e2",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 265.479,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.57758,
    "c": 0.2116,
    "h": 299.2
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#8E50E2
secondary
#CBE3AB
accent
#EE39A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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