#8E4ABA#8E4ABA

#8E4ABA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.175 H 309.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8E4ABA
RGBrgb(142, 74, 186)
HSLhsl(276, 45%, 51%)
HSVhsv(276, 60%, 73%)
CMYKcmyk(23.7%, 60.2%, 0%, 27.1%)
CIE-LABlab(44.51, 48.33, -47.89)
CIE-LCHlch(44.51, 68.04, 315.26°)
OKLaboklab(54.23% 0.1123 -0.1348)
OKLCHoklch(54.23% 0.175 309.8)
XYZxyz(22.4653, 14.1939, 48.0011)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4ABA #76BA4A
analogous
#564ABA #8E4ABA #BA4AAE
triadic
#8E4ABA #BA8E4A #4ABA8E
tetradic
#8E4ABA #BA564A #76BA4A #4AAEBA
square
#8E4ABA #BA564A #76BA4A #4AAEBA
split-complementary
#8E4ABA #AEBA4A #4ABA56
monochromatic
#4B2664 #6D3790 #8E4ABA #AA76CB #C5A3DC

Accessibility & contrast

On white

5.47
#8E4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8E4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4ABA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4ABA#FFFFFF#000000##FFFFFF
##8E4ABA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#885F7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e4aba;
/* rgb */ color: rgb(142, 74, 186);
/* oklch */ color: oklch(54.2% 0.175 309.8);
Tailwind
colors: {
  custom: {
    50: '#b280cf',
    500: '#8e4aba',
    950: '#000000',
  },
}
SCSS
$custom: #8e4aba;
$custom-light: #b280cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4aba",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 276.429,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.17546,
    "h": 309.8
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#8E4ABA
secondary
#ABC997
accent
#D55386
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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