#8E47D7#8E47D7

#8E47D7 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.211 H 302.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8E47D7
RGBrgb(142, 71, 215)
HSLhsl(270, 64%, 56%)
HSVhsv(270, 67%, 84%)
CMYKcmyk(34%, 67%, 0%, 15.7%)
CIE-LABlab(45.86, 56.58, -62.48)
CIE-LCHlch(45.86, 84.29, 312.16°)
OKLaboklab(55.81% 0.1139 -0.1777)
OKLCHoklch(55.81% 0.211 302.7)
XYZxyz(25.6714, 15.1635, 65.8512)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47D7 #90D747
analogous
#4748D7 #8E47D7 #D647D7
triadic
#8E47D7 #D78E47 #47D78E
tetradic
#8E47D7 #D74748 #90D747 #47D7D6
square
#8E47D7 #D74748 #90D747 #47D7D6
split-complementary
#8E47D7 #D7D647 #48D747
monochromatic
#511D86 #6F28B9 #8E47D7 #AD79E2 #CCACED

Accessibility & contrast

On white

5.21
#8E47D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8E47D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E47D7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E47D7#FFFFFF#000000##FFFFFF
##8E47D71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#7F6889
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e47d7;
/* rgb */ color: rgb(142, 71, 215);
/* oklch */ color: oklch(55.8% 0.211 302.7);
Tailwind
colors: {
  custom: {
    50: '#b47fe4',
    500: '#8e47d7',
    950: '#000000',
  },
}
SCSS
$custom: #8e47d7;
$custom-light: #b47fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47d7",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 269.583,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.21104,
    "h": 302.7
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#8E47D7
secondary
#BDDB9F
accent
#E74195
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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