#8E47BC#8E47BC

#8E47BC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.182 H 309.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8E47BC
RGBrgb(142, 71, 188)
HSLhsl(276, 47%, 51%)
HSVhsv(276, 62%, 74%)
CMYKcmyk(24.5%, 62.2%, 0%, 26.3%)
CIE-LABlab(44.07, 50.30, -49.76)
CIE-LCHlch(44.07, 70.75, 315.31°)
OKLaboklab(53.96% 0.116 -0.1403)
OKLCHoklch(53.96% 0.182 309.6)
XYZxyz(22.4839, 13.8885, 49.0635)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47BC #75BC47
analogous
#5347BC #8E47BC #BC47B0
triadic
#8E47BC #BC8E47 #47BC8E
tetradic
#8E47BC #BC5347 #75BC47 #47B0BC
square
#8E47BC #BC5347 #75BC47 #47B0BC
split-complementary
#8E47BC #B0BC47 #47BC53
monochromatic
#4B2464 #6D3591 #8E47BC #AA74CC #C5A1DD

Accessibility & contrast

On white

5.56
#8E47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8E47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E47BC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E47BC#FFFFFF#000000##FFFFFF
##8E47BC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E65C0
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#885E7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e47bc;
/* rgb */ color: rgb(142, 71, 188);
/* oklch */ color: oklch(54.0% 0.182 309.6);
Tailwind
colors: {
  custom: {
    50: '#b27ed1',
    500: '#8e47bc',
    950: '#000000',
  },
}
SCSS
$custom: #8e47bc;
$custom-light: #b27ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47bc",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 276.41,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.18202,
    "h": 309.6
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#8E47BC
secondary
#AAC995
accent
#D65286
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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