#8E5ABA#8E5ABA

#8E5ABA is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.150 H 307.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8E5ABA
RGBrgb(142, 90, 186)
HSLhsl(273, 41%, 54%)
HSVhsv(273, 52%, 73%)
CMYKcmyk(23.7%, 51.6%, 0%, 27.1%)
CIE-LABlab(47.76, 39.75, -42.70)
CIE-LCHlch(47.76, 58.34, 312.94°)
OKLaboklab(56.62% 0.0911 -0.1197)
OKLCHoklch(56.62% 0.15 307.3)
XYZxyz(23.6726, 16.6085, 48.4035)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5ABA #86BA5A
analogous
#5E5ABA #8E5ABA #BA5AB6
triadic
#8E5ABA #BA8E5A #5ABA8E
tetradic
#8E5ABA #BA5E5A #86BA5A #5AB6BA
square
#8E5ABA #BA5E5A #86BA5A #5AB6BA
split-complementary
#8E5ABA #B6BA5A #5ABA5E
monochromatic
#4F2D6C #6F3F97 #8E5ABA #AC85CC #C9B0DE

Accessibility & contrast

On white

4.86
#8E5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8E5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5ABA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5ABA#FFFFFF#000000##FFFFFF
##8E5ABA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBD
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#876B81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e5aba;
/* rgb */ color: rgb(142, 90, 186);
/* oklch */ color: oklch(56.6% 0.150 307.3);
Tailwind
colors: {
  custom: {
    50: '#b18acf',
    500: '#8e5aba',
    950: '#000000',
  },
}
SCSS
$custom: #8e5aba;
$custom-light: #b18acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5aba",
  "rgb": {
    "r": 142,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 272.5,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.15045,
    "h": 307.3
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#8E5ABA
secondary
#B6CCA3
accent
#D1578F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8E5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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