#8E4ABE#8E4ABE

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

Color values

HEX#8E4ABE
RGBrgb(142, 74, 190)
HSLhsl(275, 47%, 52%)
HSVhsv(275, 61%, 75%)
CMYKcmyk(25.3%, 61.1%, 0%, 25.5%)
CIE-LABlab(44.75, 49.24, -49.83)
CIE-LCHlch(44.75, 70.06, 314.66°)
OKLaboklab(54.49% 0.1122 -0.1405)
OKLCHoklch(54.49% 0.18 308.6)
XYZxyz(22.8965, 14.3664, 50.2720)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4ABE #7ABE4A
analogous
#544ABE #8E4ABE #BE4AB4
triadic
#8E4ABE #BE8E4A #4ABE8E
tetradic
#8E4ABE #BE544A #7ABE4A #4AB4BE
square
#8E4ABE #BE544A #7ABE4A #4AB4BE
split-complementary
#8E4ABE #B4BE4A #4ABE54
monochromatic
#4D2568 #6E3695 #8E4ABE #AA77CE #C6A4DE

Accessibility & contrast

On white

5.42
#8E4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8E4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4ABE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4ABE#FFFFFF#000000##FFFFFF
##8E4ABE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1667C2
Deuteranopia (green-blind)
#396BBB
Tritanopia (blue-blind)
#87617D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e4abe;
/* rgb */ color: rgb(142, 74, 190);
/* oklch */ color: oklch(54.5% 0.180 308.6);
Tailwind
colors: {
  custom: {
    50: '#b280d2',
    500: '#8e4abe',
    950: '#000000',
  },
}
SCSS
$custom: #8e4abe;
$custom-light: #b280d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4abe",
  "rgb": {
    "r": 142,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 275.172,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.17984,
    "h": 308.6
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#8E4ABE
secondary
#AECB98
accent
#D75188
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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