#8E50DD#8E50DD

#8E50DD is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.206 H 300.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8E50DD
RGBrgb(142, 80, 221)
HSLhsl(266, 67%, 59%)
HSVhsv(266, 64%, 87%)
CMYKcmyk(35.7%, 63.8%, 0%, 13.3%)
CIE-LABlab(47.89, 53.59, -62.62)
CIE-LCHlch(47.89, 82.41, 310.56°)
OKLaboklab(57.4% 0.1035 -0.1781)
OKLCHoklch(57.4% 0.206 300.2)
XYZxyz(27.0719, 16.7083, 70.1914)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50DD #9FDD50
analogous
#5059DD #8E50DD #D550DD
triadic
#8E50DD #DD8E50 #50DD8E
tetradic
#8E50DD #DD5059 #9FDD50 #50DDD5
square
#8E50DD #DD5059 #9FDD50 #50DDD5
split-complementary
#8E50DD #DDD550 #59DD50
monochromatic
#521D96 #6E27C9 #8E50DD #AF83E7 #D0B6F1

Accessibility & contrast

On white

4.84
#8E50DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8E50DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50DD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50DD#FFFFFF#000000##FFFFFF
##8E50DD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0C71DA
Tritanopia (blue-blind)
#7D6F8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e50dd;
/* rgb */ color: rgb(142, 80, 221);
/* oklch */ color: oklch(57.4% 0.206 300.2);
Tailwind
colors: {
  custom: {
    50: '#b484e8',
    500: '#8e50dd',
    950: '#000000',
  },
}
SCSS
$custom: #8e50dd;
$custom-light: #b484e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50dd",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 266.383,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57402,
    "c": 0.206,
    "h": 300.2
  },
  "luminance": 0.16709
}

Semantic roles & 50–950 ramp

primary
#8E50DD
secondary
#C8E0A9
accent
#EA3D9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E50DD

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

Preview Lab → · Contrast checker → · Palette generator →

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