#8E50BE#8E50BE

#8E50BE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.171 H 307.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8E50BE
RGBrgb(142, 80, 190)
HSLhsl(274, 46%, 53%)
HSVhsv(274, 58%, 75%)
CMYKcmyk(25.3%, 57.9%, 0%, 25.5%)
CIE-LABlab(45.92, 46.12, -47.97)
CIE-LCHlch(45.92, 66.55, 313.87°)
OKLaboklab(55.34% 0.1047 -0.1351)
OKLCHoklch(55.34% 0.171 307.8)
XYZxyz(23.3164, 15.2061, 50.4120)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E50BE #80BE50
analogous
#5750BE #8E50BE #BE50B7
triadic
#8E50BE #BE8E50 #50BE8E
tetradic
#8E50BE #BE5750 #80BE50 #50B7BE
square
#8E50BE #BE5750 #80BE50 #50B7BE
split-complementary
#8E50BE #B7BE50 #50BE57
monochromatic
#4E286C #6E3998 #8E50BE #AB7DCF #C8A9DF

Accessibility & contrast

On white

5.20
#8E50BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8E50BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E50BE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E50BE#FFFFFF#000000##FFFFFF
##8E50BE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC2
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#87657F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e50be;
/* rgb */ color: rgb(142, 80, 190);
/* oklch */ color: oklch(55.3% 0.171 307.8);
Tailwind
colors: {
  custom: {
    50: '#b284d2',
    500: '#8e50be',
    950: '#000000',
  },
}
SCSS
$custom: #8e50be;
$custom-light: #b284d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e50be",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 190
  },
  "hsl": {
    "h": 273.818,
    "s": 45.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55336,
    "c": 0.1709,
    "h": 307.8
  },
  "luminance": 0.15206
}

Semantic roles & 50–950 ramp

primary
#8E50BE
secondary
#B2CD9D
accent
#D5528C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8E50BE

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

Preview Lab → · Contrast checker → · Palette generator →

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