#8E3ABC#8E3ABC

#8E3ABC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.4% C 0.200 H 311.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8E3ABC
RGBrgb(142, 58, 188)
HSLhsl(279, 53%, 48%)
HSVhsv(279, 69%, 74%)
CMYKcmyk(24.5%, 69.1%, 0%, 26.3%)
CIE-LABlab(41.86, 56.41, -53.32)
CIE-LCHlch(41.86, 77.62, 316.61°)
OKLaboklab(52.36% 0.1309 -0.1507)
OKLCHoklch(52.36% 0.2 311)
XYZxyz(21.7438, 12.4082, 48.8168)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3ABC #68BC3A
analogous
#4D3ABC #8E3ABC #BC3AA9
triadic
#8E3ABC #BC8E3A #3ABC8E
tetradic
#8E3ABC #BC4D3A #68BC3A #3AA9BC
square
#8E3ABC #BC4D3A #68BC3A #3AA9BC
split-complementary
#8E3ABC #A9BC3A #3ABC4D
monochromatic
#471D5E #6B2C8D #8E3ABC #A964CF #C393DE

Accessibility & contrast

On white

6.03
#8E3ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8E3ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3ABC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3ABC#FFFFFF#000000##FFFFFF
##8E3ABC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#885677
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e3abc;
/* rgb */ color: rgb(142, 58, 188);
/* oklch */ color: oklch(52.4% 0.200 311.0);
Tailwind
colors: {
  custom: {
    50: '#b377d1',
    500: '#8e3abc',
    950: '#000000',
  },
}
SCSS
$custom: #8e3abc;
$custom-light: #b377d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3abc",
  "rgb": {
    "r": 142,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 278.769,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.19958,
    "h": 311
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#8E3ABC
secondary
#A0C989
accent
#DC4C7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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