#8E50DE#8E50DE

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

Color values

HEX#8E50DE
RGBrgb(142, 80, 222)
HSLhsl(266, 68%, 59%)
HSVhsv(266, 64%, 87%)
CMYKcmyk(36%, 64%, 0%, 12.9%)
CIE-LABlab(47.96, 53.83, -63.07)
CIE-LCHlch(47.96, 82.92, 310.48°)
OKLaboklab(57.47% 0.1035 -0.1794)
OKLCHoklch(57.47% 0.207 300)
XYZxyz(27.2056, 16.7618, 70.8951)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50DE #A0DE50
analogous
#5059DE #8E50DE #D550DE
triadic
#8E50DE #DE8E50 #50DE8E
tetradic
#8E50DE #DE5059 #A0DE50 #50DED5
square
#8E50DE #DE5059 #A0DE50 #50DED5
split-complementary
#8E50DE #DED550 #59DE50
monochromatic
#521C97 #6E26CB #8E50DE #AF83E8 #D0B7F1

Accessibility & contrast

On white

4.82
#8E50DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8E50DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50DE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50DE#FFFFFF#000000##FFFFFF
##8E50DE1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0671DB
Tritanopia (blue-blind)
#7C7090
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e50de;
/* rgb */ color: rgb(142, 80, 222);
/* oklch */ color: oklch(57.5% 0.207 300.0);
Tailwind
colors: {
  custom: {
    50: '#b485e9',
    500: '#8e50de',
    950: '#000000',
  },
}
SCSS
$custom: #8e50de;
$custom-light: #b485e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50de",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 222
  },
  "hsl": {
    "h": 266.197,
    "s": 68.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.20712,
    "h": 300
  },
  "luminance": 0.16762
}

Semantic roles & 50–950 ramp

primary
#8E50DE
secondary
#C8E1A9
accent
#EB3D9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E50DE

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

Preview Lab → · Contrast checker → · Palette generator →

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