#8E50BF#8E50BF

#8E50BF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.172 H 307.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8E50BF
RGBrgb(142, 80, 191)
HSLhsl(274, 46%, 53%)
HSVhsv(274, 58%, 75%)
CMYKcmyk(25.7%, 58.1%, 0%, 25.1%)
CIE-LABlab(45.97, 46.36, -48.46)
CIE-LCHlch(45.97, 67.06, 313.73°)
OKLaboklab(55.4% 0.1047 -0.1365)
OKLCHoklch(55.4% 0.172 307.5)
XYZxyz(23.4260, 15.2500, 50.9896)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50BF #81BF50
analogous
#5650BF #8E50BF #BF50B8
triadic
#8E50BF #BF8E50 #50BF8E
tetradic
#8E50BF #BF5650 #81BF50 #50B8BF
square
#8E50BF #BF5650 #81BF50 #50B8BF
split-complementary
#8E50BF #B8BF50 #50BF56
monochromatic
#4E286D #6F389A #8E50BF #AB7DCF #C8AAE0

Accessibility & contrast

On white

5.19
#8E50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8E50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50BF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50BF#FFFFFF#000000##FFFFFF
##8E50BF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256BC3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#866580
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e50bf;
/* rgb */ color: rgb(142, 80, 191);
/* oklch */ color: oklch(55.4% 0.172 307.5);
Tailwind
colors: {
  custom: {
    50: '#b284d3',
    500: '#8e50bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e50bf;
$custom-light: #b284d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50bf",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 273.514,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.17203,
    "h": 307.5
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#8E50BF
secondary
#B3CD9D
accent
#D6528C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8E50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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