#8E5CC0#8E5CC0

#8E5CC0 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.3% C 0.154 H 305.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8E5CC0
RGBrgb(142, 92, 192)
HSLhsl(270, 44%, 56%)
HSVhsv(270, 52%, 75%)
CMYKcmyk(26%, 52.1%, 0%, 24.7%)
CIE-LABlab(48.52, 40.06, -44.97)
CIE-LCHlch(48.52, 60.23, 311.70°)
OKLaboklab(57.29% 0.0889 -0.1264)
OKLCHoklch(57.29% 0.154 305.1)
XYZxyz(24.4949, 17.2110, 51.8906)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5CC0 #8EC05C
analogous
#5C5CC0 #8E5CC0 #C05CC0
triadic
#8E5CC0 #C08E5C #5CC08E
tetradic
#8E5CC0 #C05C5C #8EC05C #5CC0C0
square
#8E5CC0 #C05C5C #8EC05C #5CC0C0
split-complementary
#8E5CC0 #C0C05C #5CC05C
monochromatic
#512D75 #6F3EA1 #8E5CC0 #AD88D1 #CBB4E2

Accessibility & contrast

On white

4.73
#8E5CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8E5CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5CC0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5CC0#FFFFFF#000000##FFFFFF
##8E5CC01.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C72C3
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#866E85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e5cc0;
/* rgb */ color: rgb(142, 92, 192);
/* oklch */ color: oklch(57.3% 0.154 305.1);
Tailwind
colors: {
  custom: {
    50: '#b28cd3',
    500: '#8e5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #8e5cc0;
$custom-light: #b28cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5cc0",
  "rgb": {
    "r": 142,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 270,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57294,
    "c": 0.15449,
    "h": 305.1
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#8E5CC0
secondary
#BCD1A7
accent
#D45494
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8E5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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