#8E4ABC#8E4ABC

#8E4ABC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.178 H 309.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8E4ABC
RGBrgb(142, 74, 188)
HSLhsl(276, 46%, 51%)
HSVhsv(276, 61%, 74%)
CMYKcmyk(24.5%, 60.6%, 0%, 26.3%)
CIE-LABlab(44.63, 48.78, -48.86)
CIE-LCHlch(44.63, 69.04, 314.95°)
OKLaboklab(54.36% 0.1123 -0.1377)
OKLCHoklch(54.36% 0.178 309.2)
XYZxyz(22.6794, 14.2796, 49.1287)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4ABC #78BC4A
analogous
#554ABC #8E4ABC #BC4AB1
triadic
#8E4ABC #BC8E4A #4ABC8E
tetradic
#8E4ABC #BC554A #78BC4A #4AB1BC
square
#8E4ABC #BC554A #78BC4A #4AB1BC
split-complementary
#8E4ABC #B1BC4A #4ABC55
monochromatic
#4C2666 #6D3693 #8E4ABC #AA77CD #C6A3DD

Accessibility & contrast

On white

5.45
#8E4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8E4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4ABC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4ABC#FFFFFF#000000##FFFFFF
##8E4ABC1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#3B6BB9
Tritanopia (blue-blind)
#88607C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e4abc;
/* rgb */ color: rgb(142, 74, 188);
/* oklch */ color: oklch(54.4% 0.178 309.2);
Tailwind
colors: {
  custom: {
    50: '#b280d1',
    500: '#8e4abc',
    950: '#000000',
  },
}
SCSS
$custom: #8e4abc;
$custom-light: #b280d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4abc",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 275.789,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5436,
    "c": 0.17765,
    "h": 309.2
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#8E4ABC
secondary
#ACCA98
accent
#D65287
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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