#8E50BB#8E50BB

#8E50BB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.167 H 308.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8E50BB
RGBrgb(142, 80, 187)
HSLhsl(275, 44%, 52%)
HSVhsv(275, 57%, 73%)
CMYKcmyk(24.1%, 57.2%, 0%, 26.7%)
CIE-LABlab(45.74, 45.43, -46.51)
CIE-LCHlch(45.74, 65.01, 314.33°)
OKLaboklab(55.15% 0.1046 -0.1308)
OKLCHoklch(55.15% 0.167 308.6)
XYZxyz(22.9919, 15.0763, 48.7029)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50BB #7DBB50
analogous
#5850BB #8E50BB #BB50B3
triadic
#8E50BB #BB8E50 #50BB8E
tetradic
#8E50BB #BB5850 #7DBB50 #50B3BB
square
#8E50BB #BB5850 #7DBB50 #50B3BB
split-complementary
#8E50BB #B3BB50 #50BB58
monochromatic
#4D2868 #6E3A94 #8E50BB #AA7CCC #C7A8DD

Accessibility & contrast

On white

5.23
#8E50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E50BB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50BB#FFFFFF#000000##FFFFFF
##8E50BB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABE
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#88647E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e50bb;
/* rgb */ color: rgb(142, 80, 187);
/* oklch */ color: oklch(55.1% 0.167 308.6);
Tailwind
colors: {
  custom: {
    50: '#b284d0',
    500: '#8e50bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e50bb;
$custom-light: #b284d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50bb",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 274.766,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.16749,
    "h": 308.6
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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