#8E50BC#8E50BC

#8E50BC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.169 H 308.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8E50BC
RGBrgb(142, 80, 188)
HSLhsl(274, 45%, 53%)
HSVhsv(274, 57%, 74%)
CMYKcmyk(24.5%, 57.4%, 0%, 26.3%)
CIE-LABlab(45.80, 45.66, -47.00)
CIE-LCHlch(45.80, 65.52, 314.17°)
OKLaboklab(55.21% 0.1046 -0.1322)
OKLCHoklch(55.21% 0.169 308.3)
XYZxyz(23.0993, 15.1193, 49.2686)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50BC #7EBC50
analogous
#5850BC #8E50BC #BC50B4
triadic
#8E50BC #BC8E50 #50BC8E
tetradic
#8E50BC #BC5850 #7EBC50 #50B4BC
square
#8E50BC #BC5850 #7EBC50 #50B4BC
split-complementary
#8E50BC #B4BC50 #50BC58
monochromatic
#4E2869 #6E3996 #8E50BC #AB7CCD #C7A9DE

Accessibility & contrast

On white

5.22
#8E50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8E50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50BC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50BC#FFFFFF#000000##FFFFFF
##8E50BC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#87647E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e50bc;
/* rgb */ color: rgb(142, 80, 188);
/* oklch */ color: oklch(55.2% 0.169 308.3);
Tailwind
colors: {
  custom: {
    50: '#b284d1',
    500: '#8e50bc',
    950: '#000000',
  },
}
SCSS
$custom: #8e50bc;
$custom-light: #b284d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50bc",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 274.444,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55211,
    "c": 0.16862,
    "h": 308.3
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#8E50BC
secondary
#B0CB9C
accent
#D4538A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8E50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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