#8E3BC4#8E3BC4

#8E3BC4 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.206 H 308.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8E3BC4
RGBrgb(142, 59, 196)
HSLhsl(276, 54%, 50%)
HSVhsv(276, 70%, 77%)
CMYKcmyk(27.6%, 69.9%, 0%, 23.1%)
CIE-LABlab(42.56, 57.72, -56.86)
CIE-LCHlch(42.56, 81.02, 315.43°)
OKLaboklab(53.03% 0.1289 -0.1611)
OKLCHoklch(53.03% 0.206 308.7)
XYZxyz(22.6811, 12.8646, 53.5021)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BC4 #71C43B
analogous
#493BC4 #8E3BC4 #C43BB6
triadic
#8E3BC4 #C48E3B #3BC48E
tetradic
#8E3BC4 #C4493B #71C43B #3BB6C4
square
#8E3BC4 #C4493B #71C43B #3BB6C4
split-complementary
#8E3BC4 #B6C43B #3BC449
monochromatic
#4A1F66 #6C2D95 #8E3BC4 #A96AD2 #C499E0

Accessibility & contrast

On white

5.88
#8E3BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8E3BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BC4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BC4#FFFFFF#000000##FFFFFF
##8E3BC41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1B65C1
Tritanopia (blue-blind)
#86597B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e3bc4;
/* rgb */ color: rgb(142, 59, 196);
/* oklch */ color: oklch(53.0% 0.206 308.7);
Tailwind
colors: {
  custom: {
    50: '#b478d7',
    500: '#8e3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bc4;
$custom-light: #b478d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bc4",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 276.35,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.53033,
    "c": 0.20629,
    "h": 308.7
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#8E3BC4
secondary
#A7CC8F
accent
#DD4B84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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