#8E47DB#8E47DB

#8E47DB is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.215 H 301.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8E47DB
RGBrgb(142, 71, 219)
HSLhsl(269, 67%, 57%)
HSVhsv(269, 68%, 86%)
CMYKcmyk(35.2%, 67.6%, 0%, 14.1%)
CIE-LABlab(46.14, 57.53, -64.31)
CIE-LCHlch(46.14, 86.29, 311.81°)
OKLaboklab(56.1% 0.1134 -0.183)
OKLCHoklch(56.1% 0.215 301.8)
XYZxyz(26.1917, 15.3716, 68.5912)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47DB #94DB47
analogous
#474ADB #8E47DB #D847DB
triadic
#8E47DB #DB8E47 #47DB8E
tetradic
#8E47DB #DB474A #94DB47 #47DBD8
square
#8E47DB #DB474A #94DB47 #47DBD8
split-complementary
#8E47DB #DBD847 #4ADB47
monochromatic
#521B8C #6F25BF #8E47DB #AD7AE5 #CDADEF

Accessibility & contrast

On white

5.15
#8E47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8E47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E47DB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E47DB#FFFFFF#000000##FFFFFF
##8E47DB1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#7E698B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8e47db;
/* rgb */ color: rgb(142, 71, 219);
/* oklch */ color: oklch(56.1% 0.215 301.8);
Tailwind
colors: {
  custom: {
    50: '#b57fe7',
    500: '#8e47db',
    950: '#000000',
  },
}
SCSS
$custom: #8e47db;
$custom-light: #b57fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47db",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 268.784,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.561,
    "c": 0.21532,
    "h": 301.8
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#8E47DB
secondary
#C0DDA1
accent
#EA3E97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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