#8E47D1#8E47D1

#8E47D1 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.205 H 304.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8E47D1
RGBrgb(142, 71, 209)
HSLhsl(271, 60%, 55%)
HSVhsv(271, 66%, 82%)
CMYKcmyk(32.1%, 66%, 0%, 18%)
CIE-LABlab(45.44, 55.15, -59.71)
CIE-LCHlch(45.44, 81.29, 312.73°)
OKLaboklab(55.38% 0.1146 -0.1695)
OKLCHoklch(55.38% 0.205 304.1)
XYZxyz(24.9146, 14.8608, 61.8651)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47D1 #8AD147
analogous
#4947D1 #8E47D1 #D147CF
triadic
#8E47D1 #D18E47 #47D18E
tetradic
#8E47D1 #D14947 #8AD147 #47CFD1
square
#8E47D1 #D14947 #8AD147 #47CFD1
split-complementary
#8E47D1 #CFD147 #47D149
monochromatic
#50207E #6F2CAF #8E47D1 #AC78DD #CAA9E9

Accessibility & contrast

On white

5.29
#8E47D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8E47D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E47D1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E47D1#FFFFFF#000000##FFFFFF
##8E47D11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#166BCE
Tritanopia (blue-blind)
#816686
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e47d1;
/* rgb */ color: rgb(142, 71, 209);
/* oklch */ color: oklch(55.4% 0.205 304.1);
Tailwind
colors: {
  custom: {
    50: '#b47fe0',
    500: '#8e47d1',
    950: '#000000',
  },
}
SCSS
$custom: #8e47d1;
$custom-light: #b47fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47d1",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 270.87,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5538,
    "c": 0.20461,
    "h": 304.1
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#8E47D1
secondary
#B9D79D
accent
#E34592
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E47D1

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

Preview Lab → · Contrast checker → · Palette generator →

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