#8E3CC6#8E3CC6

#8E3CC6 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.207 H 308.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8E3CC6
RGBrgb(142, 60, 198)
HSLhsl(276, 55%, 51%)
HSVhsv(276, 70%, 78%)
CMYKcmyk(28.3%, 69.7%, 0%, 22.4%)
CIE-LABlab(42.85, 57.73, -57.54)
CIE-LCHlch(42.85, 81.51, 315.09°)
OKLaboklab(53.29% 0.1276 -0.1631)
OKLCHoklch(53.29% 0.207 308)
XYZxyz(22.9621, 13.0601, 54.7263)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CC6 #74C63C
analogous
#493CC6 #8E3CC6 #C63CB9
triadic
#8E3CC6 #C68E3C #3CC68E
tetradic
#8E3CC6 #C6493C #74C63C #3CB9C6
square
#8E3CC6 #C6493C #74C63C #3CB9C6
split-complementary
#8E3CC6 #B9C63C #3CC649
monochromatic
#4B1F69 #6D2D98 #8E3CC6 #A96BD4 #C59BE2

Accessibility & contrast

On white

5.81
#8E3CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8E3CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CC6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CC6#FFFFFF#000000##FFFFFF
##8E3CC61.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#1966C3
Tritanopia (blue-blind)
#855B7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e3cc6;
/* rgb */ color: rgb(142, 60, 198);
/* oklch */ color: oklch(53.3% 0.207 308.0);
Tailwind
colors: {
  custom: {
    50: '#b478d8',
    500: '#8e3cc6',
    950: '#000000',
  },
}
SCSS
$custom: #8e3cc6;
$custom-light: #b478d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3cc6",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 275.652,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.20708,
    "h": 308
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#8E3CC6
secondary
#A9CE90
accent
#DE4A86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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