#8E50CD#8E50CD

#8E50CD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.188 H 303.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8E50CD
RGBrgb(142, 80, 205)
HSLhsl(270, 56%, 56%)
HSVhsv(270, 61%, 80%)
CMYKcmyk(30.7%, 61%, 0%, 19.6%)
CIE-LABlab(46.84, 49.68, -55.17)
CIE-LCHlch(46.84, 74.24, 312.01°)
OKLaboklab(56.3% 0.1045 -0.1562)
OKLCHoklch(56.3% 0.188 303.8)
XYZxyz(25.0410, 15.8959, 59.4948)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50CD #8FCD50
analogous
#5050CD #8E50CD #CD50CD
triadic
#8E50CD #CD8E50 #50CD8E
tetradic
#8E50CD #CD5050 #8FCD50 #50CDCD
square
#8E50CD #CD5050 #8FCD50 #50CDCD
split-complementary
#8E50CD #CDCD50 #50CD50
monochromatic
#51247E #6F32AE #8E50CD #AD80DB #CBAFE8

Accessibility & contrast

On white

5.02
#8E50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8E50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50CD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50CD#FFFFFF#000000##FFFFFF
##8E50CD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026ED1
Deuteranopia (green-blind)
#306FCA
Tritanopia (blue-blind)
#826A87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e50cd;
/* rgb */ color: rgb(142, 80, 205);
/* oklch */ color: oklch(56.3% 0.188 303.8);
Tailwind
colors: {
  custom: {
    50: '#b384dd',
    500: '#8e50cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e50cd;
$custom-light: #b384dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50cd",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 269.76,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56304,
    "c": 0.18794,
    "h": 303.8
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#8E50CD
secondary
#BDD6A2
accent
#DF4994
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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