#8E47E0#8E47E0

#8E47E0 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.221 H 300.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8E47E0
RGBrgb(142, 71, 224)
HSLhsl(268, 71%, 58%)
HSVhsv(268, 68%, 88%)
CMYKcmyk(36.6%, 68.3%, 0%, 12.2%)
CIE-LABlab(46.50, 58.73, -66.58)
CIE-LCHlch(46.50, 88.78, 311.42°)
OKLaboklab(56.47% 0.1127 -0.1897)
OKLCHoklch(56.47% 0.221 300.7)
XYZxyz(26.8598, 15.6389, 72.1101)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E47E0 #99E047
analogous
#474CE0 #8E47E0 #DA47E0
triadic
#8E47E0 #E08E47 #47E08E
tetradic
#8E47E0 #E0474C #99E047 #47E0DA
square
#8E47E0 #E0474C #99E047 #47E0DA
split-complementary
#8E47E0 #E0DA47 #4CE047
monochromatic
#521994 #6F22C8 #8E47E0 #AE7BE9 #CEB0F2

Accessibility & contrast

On white

5.09
#8E47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8E47E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E47E0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E47E0#FFFFFF#000000##FFFFFF
##8E47E01.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#7C6B8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e47e0;
/* rgb */ color: rgb(142, 71, 224);
/* oklch */ color: oklch(56.5% 0.221 300.7);
Tailwind
colors: {
  custom: {
    50: '#b57feb',
    500: '#8e47e0',
    950: '#000000',
  },
}
SCSS
$custom: #8e47e0;
$custom-light: #b57feb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e47e0",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 267.843,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.22065,
    "h": 300.7
  },
  "luminance": 0.15639
}

Semantic roles & 50–950 ramp

primary
#8E47E0
secondary
#C4E0A3
accent
#EE3A9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E47E0

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

Preview Lab → · Contrast checker → · Palette generator →

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