#8E4BBC#8E4BBC

#8E4BBC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.176 H 309.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8E4BBC
RGBrgb(142, 75, 188)
HSLhsl(276, 46%, 52%)
HSVhsv(276, 60%, 74%)
CMYKcmyk(24.5%, 60.1%, 0%, 26.3%)
CIE-LABlab(44.82, 48.27, -48.56)
CIE-LCHlch(44.82, 68.47, 314.83°)
OKLaboklab(54.5% 0.111 -0.1368)
OKLCHoklch(54.5% 0.176 309.1)
XYZxyz(22.7467, 14.4142, 49.1511)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BBC #79BC4B
analogous
#564BBC #8E4BBC #BC4BB2
triadic
#8E4BBC #BC8E4B #4BBC8E
tetradic
#8E4BBC #BC564B #79BC4B #4BB2BC
square
#8E4BBC #BC564B #79BC4B #4BB2BC
split-complementary
#8E4BBC #B2BC4B #4BBC56
monochromatic
#4C2666 #6D3793 #8E4BBC #AA78CD #C6A4DD

Accessibility & contrast

On white

5.41
#8E4BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8E4BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BBC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BBC#FFFFFF#000000##FFFFFF
##8E4BBC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#88617C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e4bbc;
/* rgb */ color: rgb(142, 75, 188);
/* oklch */ color: oklch(54.5% 0.176 309.1);
Tailwind
colors: {
  custom: {
    50: '#b281d1',
    500: '#8e4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bbc;
$custom-light: #b281d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bbc",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 275.575,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.17617,
    "h": 309.1
  },
  "luminance": 0.14414
}

Semantic roles & 50–950 ramp

primary
#8E4BBC
secondary
#ADCA99
accent
#D55288
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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