#8E47D4#8E47D4

#8E47D4 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.208 H 303.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8E47D4
RGBrgb(142, 71, 212)
HSLhsl(270, 62%, 55%)
HSVhsv(270, 67%, 83%)
CMYKcmyk(33%, 66.5%, 0%, 16.9%)
CIE-LABlab(45.65, 55.86, -61.10)
CIE-LCHlch(45.65, 82.79, 312.43°)
OKLaboklab(55.59% 0.1143 -0.1736)
OKLCHoklch(55.59% 0.208 303.3)
XYZxyz(25.2895, 15.0108, 63.8396)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47D4 #8DD447
analogous
#4747D4 #8E47D4 #D447D3
triadic
#8E47D4 #D48E47 #47D48E
tetradic
#8E47D4 #D44747 #8DD447 #47D3D4
square
#8E47D4 #D44747 #8DD447 #47D3D4
split-complementary
#8E47D4 #D3D447 #47D447
monochromatic
#511E82 #6F2AB4 #8E47D4 #AC79E0 #CBAAEB

Accessibility & contrast

On white

5.25
#8E47D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8E47D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E47D4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E47D4#FFFFFF#000000##FFFFFF
##8E47D41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0B6CD1
Tritanopia (blue-blind)
#806788
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e47d4;
/* rgb */ color: rgb(142, 71, 212);
/* oklch */ color: oklch(55.6% 0.208 303.3);
Tailwind
colors: {
  custom: {
    50: '#b47fe2',
    500: '#8e47d4',
    950: '#000000',
  },
}
SCSS
$custom: #8e47d4;
$custom-light: #b47fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47d4",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 270.213,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.20783,
    "h": 303.3
  },
  "luminance": 0.15011
}

Semantic roles & 50–950 ramp

primary
#8E47D4
secondary
#BBD99E
accent
#E54393
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E47D4

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

Preview Lab → · Contrast checker → · Palette generator →

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