#8E3BC7#8E3BC7

#8E3BC7 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.209 H 307.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8E3BC7
RGBrgb(142, 59, 199)
HSLhsl(276, 56%, 51%)
HSVhsv(276, 70%, 78%)
CMYKcmyk(28.6%, 70.4%, 0%, 22%)
CIE-LABlab(42.77, 58.39, -58.27)
CIE-LCHlch(42.77, 82.49, 315.06°)
OKLaboklab(53.25% 0.1285 -0.1652)
OKLCHoklch(53.25% 0.209 307.9)
XYZxyz(23.0259, 13.0026, 55.3185)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BC7 #74C73B
analogous
#483BC7 #8E3BC7 #C73BBA
triadic
#8E3BC7 #C78E3B #3BC78E
tetradic
#8E3BC7 #C7483B #74C73B #3BBAC7
square
#8E3BC7 #C7483B #74C73B #3BBAC7
split-complementary
#8E3BC7 #BAC73B #3BC748
monochromatic
#4B1E69 #6D2C99 #8E3BC7 #A96BD5 #C59AE2

Accessibility & contrast

On white

5.83
#8E3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8E3BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BC7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BC7#FFFFFF#000000##FFFFFF
##8E3BC71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#1466C4
Tritanopia (blue-blind)
#855B7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e3bc7;
/* rgb */ color: rgb(142, 59, 199);
/* oklch */ color: oklch(53.2% 0.209 307.9);
Tailwind
colors: {
  custom: {
    50: '#b478d9',
    500: '#8e3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bc7;
$custom-light: #b478d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bc7",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 275.571,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.20929,
    "h": 307.9
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#8E3BC7
secondary
#A9CE90
accent
#DF4986
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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