#8E47D5#8E47D5

#8E47D5 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.209 H 303.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8E47D5
RGBrgb(142, 71, 213)
HSLhsl(270, 63%, 56%)
HSVhsv(270, 67%, 84%)
CMYKcmyk(33.3%, 66.7%, 0%, 16.5%)
CIE-LABlab(45.72, 56.10, -61.56)
CIE-LCHlch(45.72, 83.29, 312.34°)
OKLaboklab(55.67% 0.1141 -0.175)
OKLCHoklch(55.67% 0.209 303.1)
XYZxyz(25.4160, 15.0614, 64.5060)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47D5 #8ED547
analogous
#4747D5 #8E47D5 #D547D5
triadic
#8E47D5 #D58E47 #47D58E
tetradic
#8E47D5 #D54747 #8ED547 #47D5D5
square
#8E47D5 #D54747 #8ED547 #47D5D5
split-complementary
#8E47D5 #D5D547 #47D547
monochromatic
#511E84 #6F29B5 #8E47D5 #AD79E0 #CBABEC

Accessibility & contrast

On white

5.23
#8E47D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8E47D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E47D5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E47D5#FFFFFF#000000##FFFFFF
##8E47D51.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#066CD2
Tritanopia (blue-blind)
#806788
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e47d5;
/* rgb */ color: rgb(142, 71, 213);
/* oklch */ color: oklch(55.7% 0.209 303.1);
Tailwind
colors: {
  custom: {
    50: '#b47fe3',
    500: '#8e47d5',
    950: '#000000',
  },
}
SCSS
$custom: #8e47d5;
$custom-light: #b47fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47d5",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 270,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55665,
    "c": 0.2089,
    "h": 303.1
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#8E47D5
secondary
#BCD99E
accent
#E64294
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8E47D5

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

Preview Lab → · Contrast checker → · Palette generator →

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