#8E50DB#8E50DB

#8E50DB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.204 H 300.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8E50DB
RGBrgb(142, 80, 219)
HSLhsl(267, 66%, 59%)
HSVhsv(267, 63%, 86%)
CMYKcmyk(35.2%, 63.5%, 0%, 14.1%)
CIE-LABlab(47.76, 53.09, -61.70)
CIE-LCHlch(47.76, 81.40, 310.71°)
OKLaboklab(57.26% 0.1037 -0.1754)
OKLCHoklch(57.26% 0.204 300.6)
XYZxyz(26.8071, 16.6024, 68.7964)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50DB #9DDB50
analogous
#5057DB #8E50DB #D450DB
triadic
#8E50DB #DB8E50 #50DB8E
tetradic
#8E50DB #DB5057 #9DDB50 #50DBD4
square
#8E50DB #DB5057 #9DDB50 #50DBD4
split-complementary
#8E50DB #DBD450 #57DB50
monochromatic
#521E92 #6E29C5 #8E50DB #AF83E5 #D0B6F0

Accessibility & contrast

On white

4.86
#8E50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8E50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50DB#FFFFFF#000000##FFFFFF
##8E50DB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#1470D8
Tritanopia (blue-blind)
#7D6F8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e50db;
/* rgb */ color: rgb(142, 80, 219);
/* oklch */ color: oklch(57.3% 0.204 300.6);
Tailwind
colors: {
  custom: {
    50: '#b484e7',
    500: '#8e50db',
    950: '#000000',
  },
}
SCSS
$custom: #8e50db;
$custom-light: #b484e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50db",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 266.763,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.20375,
    "h": 300.6
  },
  "luminance": 0.16603
}

Semantic roles & 50–950 ramp

primary
#8E50DB
secondary
#C6DFA8
accent
#E93F9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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