#8D50E5#8D50E5

#8D50E5 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.215 H 298.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8D50E5
RGBrgb(141, 80, 229)
HSLhsl(265, 74%, 61%)
HSVhsv(265, 65%, 90%)
CMYKcmyk(38.4%, 65.1%, 0%, 10.2%)
CIE-LABlab(48.33, 55.37, -66.44)
CIE-LCHlch(48.33, 86.49, 309.81°)
OKLaboklab(57.87% 0.1014 -0.1894)
OKLCHoklch(57.87% 0.215 298.2)
XYZxyz(27.9924, 17.0568, 75.9310)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50E5 #A8E550
analogous
#505DE5 #8D50E5 #D850E5
triadic
#8D50E5 #E58D50 #50E58D
tetradic
#8D50E5 #E5505D #A8E550 #50E5D8
square
#8D50E5 #E5505D #A8E550 #50E5D8
split-complementary
#8D50E5 #E5D850 #5DE550
monochromatic
#5118A2 #6B20D8 #8D50E5 #B085ED #D2BBF5

Accessibility & contrast

On white

4.76
#8D50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8D50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50E5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50E5#FFFFFF#000000##FFFFFF
##8D50E51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#787294
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d50e5;
/* rgb */ color: rgb(141, 80, 229);
/* oklch */ color: oklch(57.9% 0.215 298.2);
Tailwind
colors: {
  custom: {
    50: '#b485ee',
    500: '#8d50e5',
    950: '#000000',
  },
}
SCSS
$custom: #8d50e5;
$custom-light: #b485ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50e5",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 264.564,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5787,
    "c": 0.21482,
    "h": 298.2
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#8D50E5
secondary
#CEE5AC
accent
#D60F85
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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