#8E47CC#8E47CC

#8E47CC is a mid, vivid violet. Relative luminance 0.146; OKLCH L 55.0% C 0.199 H 305.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8E47CC
RGBrgb(142, 71, 204)
HSLhsl(272, 57%, 54%)
HSVhsv(272, 65%, 80%)
CMYKcmyk(30.4%, 65.2%, 0%, 20%)
CIE-LABlab(45.11, 53.98, -57.38)
CIE-LCHlch(45.11, 78.78, 313.25°)
OKLaboklab(55.03% 0.115 -0.1627)
OKLCHoklch(55.03% 0.199 305.3)
XYZxyz(24.3053, 14.6171, 58.6560)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47CC #85CC47
analogous
#4C47CC #8E47CC #CC47C8
triadic
#8E47CC #CC8E47 #47CC8E
tetradic
#8E47CC #CC4C47 #85CC47 #47C8CC
square
#8E47CC #CC4C47 #85CC47 #47C8CC
split-complementary
#8E47CC #C8CC47 #47CC4C
monochromatic
#4F2177 #6F2EA7 #8E47CC #AB77D9 #C9A7E7

Accessibility & contrast

On white

5.35
#8E47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8E47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E47CC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E47CC#FFFFFF#000000##FFFFFF
##8E47CC1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#836483
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e47cc;
/* rgb */ color: rgb(142, 71, 204);
/* oklch */ color: oklch(55.0% 0.199 305.3);
Tailwind
colors: {
  custom: {
    50: '#b37fdc',
    500: '#8e47cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e47cc;
$custom-light: #b37fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47cc",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 272.03,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5503,
    "c": 0.19924,
    "h": 305.3
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#8E47CC
secondary
#B5D49B
accent
#E0488F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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