#8E3ACE#8E3ACE

#8E3ACE is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.217 H 306.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8E3ACE
RGBrgb(142, 58, 206)
HSLhsl(274, 60%, 52%)
HSVhsv(274, 72%, 81%)
CMYKcmyk(31.1%, 71.8%, 0%, 19.2%)
CIE-LABlab(43.11, 60.38, -61.76)
CIE-LCHlch(43.11, 86.37, 314.35°)
OKLaboklab(53.65% 0.1284 -0.1755)
OKLCHoklch(53.65% 0.217 306.2)
XYZxyz(23.8065, 13.2334, 59.6807)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3ACE #7ACE3A
analogous
#443ACE #8E3ACE #CE3AC4
triadic
#8E3ACE #CE8E3A #3ACE8E
tetradic
#8E3ACE #CE443A #7ACE3A #3AC4CE
square
#8E3ACE #CE443A #7ACE3A #3AC4CE
split-complementary
#8E3ACE #C4CE3A #3ACE44
monochromatic
#4D1C71 #6E28A2 #8E3ACE #AA6BDA #C69CE6

Accessibility & contrast

On white

5.76
#8E3ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8E3ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3ACE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3ACE#FFFFFF#000000##FFFFFF
##8E3ACE1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#835D81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3ace;
/* rgb */ color: rgb(142, 58, 206);
/* oklch */ color: oklch(53.7% 0.217 306.2);
Tailwind
colors: {
  custom: {
    50: '#b478de',
    500: '#8e3ace',
    950: '#000000',
  },
}
SCSS
$custom: #8e3ace;
$custom-light: #b478de;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3ace",
  "rgb": {
    "r": 142,
    "g": 58,
    "b": 206
  },
  "hsl": {
    "h": 274.054,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.21744,
    "h": 306.2
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#8E3ACE
secondary
#AED291
accent
#E34489
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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