#8E5ABC#8E5ABC

#8E5ABC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.153 H 306.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8E5ABC
RGBrgb(142, 90, 188)
HSLhsl(272, 42%, 55%)
HSVhsv(272, 52%, 74%)
CMYKcmyk(24.5%, 52.1%, 0%, 26.3%)
CIE-LABlab(47.87, 40.22, -43.69)
CIE-LCHlch(47.87, 59.38, 312.63°)
OKLaboklab(56.74% 0.0913 -0.1226)
OKLCHoklch(56.74% 0.153 306.7)
XYZxyz(23.8867, 16.6942, 49.5311)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5ABC #88BC5A
analogous
#5D5ABC #8E5ABC #BC5AB9
triadic
#8E5ABC #BC8E5A #5ABC8E
tetradic
#8E5ABC #BC5D5A #88BC5A #5AB9BC
square
#8E5ABC #BC5D5A #88BC5A #5AB9BC
split-complementary
#8E5ABC #B9BC5A #5ABC5D
monochromatic
#502D6F #6F3F9A #8E5ABC #AC86CE #CAB1DF

Accessibility & contrast

On white

4.84
#8E5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8E5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5ABC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5ABC#FFFFFF#000000##FFFFFF
##8E5ABC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C70BF
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#876B82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e5abc;
/* rgb */ color: rgb(142, 90, 188);
/* oklch */ color: oklch(56.7% 0.153 306.7);
Tailwind
colors: {
  custom: {
    50: '#b18ad0',
    500: '#8e5abc',
    950: '#000000',
  },
}
SCSS
$custom: #8e5abc;
$custom-light: #b18ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5abc",
  "rgb": {
    "r": 142,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 271.837,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.15287,
    "h": 306.7
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#8E5ABC
secondary
#B8CEA4
accent
#D25690
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8E5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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