#8E5ABE#8E5ABE

#8E5ABE is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.155 H 306.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8E5ABE
RGBrgb(142, 90, 190)
HSLhsl(271, 43%, 55%)
HSVhsv(271, 53%, 75%)
CMYKcmyk(25.3%, 52.6%, 0%, 25.5%)
CIE-LABlab(47.98, 40.70, -44.68)
CIE-LCHlch(47.98, 60.43, 312.33°)
OKLaboklab(56.86% 0.0914 -0.1255)
OKLCHoklch(56.86% 0.155 306.1)
XYZxyz(24.1038, 16.7810, 50.6745)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5ABE #8ABE5A
analogous
#5C5ABE #8E5ABE #BE5ABC
triadic
#8E5ABE #BE8E5A #5ABE8E
tetradic
#8E5ABE #BE5C5A #8ABE5A #5ABCBE
square
#8E5ABE #BE5C5A #8ABE5A #5ABCBE
split-complementary
#8E5ABE #BCBE5A #5ABE5C
monochromatic
#502D71 #6F3E9D #8E5ABE #AC86CF #CAB2E1

Accessibility & contrast

On white

4.82
#8E5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8E5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5ABE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5ABE#FFFFFF#000000##FFFFFF
##8E5ABE1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C1
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#866C83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e5abe;
/* rgb */ color: rgb(142, 90, 190);
/* oklch */ color: oklch(56.9% 0.155 306.1);
Tailwind
colors: {
  custom: {
    50: '#b28ad2',
    500: '#8e5abe',
    950: '#000000',
  },
}
SCSS
$custom: #8e5abe;
$custom-light: #b28ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5abe",
  "rgb": {
    "r": 142,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 271.2,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.15527,
    "h": 306.1
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#8E5ABE
secondary
#B9CFA5
accent
#D35591
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8E5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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