#8E50DA#8E50DA

#8E50DA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.203 H 300.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8E50DA
RGBrgb(142, 80, 218)
HSLhsl(267, 65%, 58%)
HSVhsv(267, 63%, 85%)
CMYKcmyk(34.9%, 63.3%, 0%, 14.5%)
CIE-LABlab(47.69, 52.85, -61.24)
CIE-LCHlch(47.69, 80.89, 310.79°)
OKLaboklab(57.19% 0.1038 -0.174)
OKLCHoklch(57.19% 0.203 300.8)
XYZxyz(26.6758, 16.5499, 68.1051)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50DA #9CDA50
analogous
#5057DA #8E50DA #D350DA
triadic
#8E50DA #DA8E50 #50DA8E
tetradic
#8E50DA #DA5057 #9CDA50 #50DAD3
square
#8E50DA #DA5057 #9CDA50 #50DAD3
split-complementary
#8E50DA #DAD350 #57DA50
monochromatic
#521F91 #6F29C3 #8E50DA #AF83E5 #CFB5EF

Accessibility & contrast

On white

4.87
#8E50DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8E50DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50DA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50DA#FFFFFF#000000##FFFFFF
##8E50DA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#1770D7
Tritanopia (blue-blind)
#7E6E8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e50da;
/* rgb */ color: rgb(142, 80, 218);
/* oklch */ color: oklch(57.2% 0.203 300.8);
Tailwind
colors: {
  custom: {
    50: '#b484e6',
    500: '#8e50da',
    950: '#000000',
  },
}
SCSS
$custom: #8e50da;
$custom-light: #b484e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50da",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 218
  },
  "hsl": {
    "h": 266.957,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.20262,
    "h": 300.8
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#8E50DA
secondary
#C6DEA8
accent
#E8409C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E50DA

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

Preview Lab → · Contrast checker → · Palette generator →

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