#8E3ACA#8E3ACA

#8E3ACA is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.213 H 307.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8E3ACA
RGBrgb(142, 58, 202)
HSLhsl(275, 58%, 51%)
HSVhsv(275, 71%, 79%)
CMYKcmyk(29.7%, 71.3%, 0%, 20.8%)
CIE-LABlab(42.83, 59.49, -59.91)
CIE-LCHlch(42.83, 84.43, 314.80°)
OKLaboklab(53.36% 0.1291 -0.17)
OKLCHoklch(53.36% 0.213 307.2)
XYZxyz(23.3268, 13.0415, 57.1540)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3ACA #76CA3A
analogous
#463ACA #8E3ACA #CA3ABE
triadic
#8E3ACA #CA8E3A #3ACA8E
tetradic
#8E3ACA #CA463A #76CA3A #3ABECA
square
#8E3ACA #CA463A #76CA3A #3ABECA
split-complementary
#8E3ACA #BECA3A #3ACA46
monochromatic
#4B1D6C #6D2A9D #8E3ACA #AA6AD7 #C59AE4

Accessibility & contrast

On white

5.82
#8E3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E3ACA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3ACA#FFFFFF#000000##FFFFFF
##8E3ACA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0466C7
Tritanopia (blue-blind)
#845B7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e3aca;
/* rgb */ color: rgb(142, 58, 202);
/* oklch */ color: oklch(53.4% 0.213 307.2);
Tailwind
colors: {
  custom: {
    50: '#b477db',
    500: '#8e3aca',
    950: '#000000',
  },
}
SCSS
$custom: #8e3aca;
$custom-light: #b477db;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3aca",
  "rgb": {
    "r": 142,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 275,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.21347,
    "h": 307.2
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#8E3ACA
secondary
#ABD090
accent
#E14787
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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