#8D47E0#8D47E0

#8D47E0 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.220 H 300.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8D47E0
RGBrgb(141, 71, 224)
HSLhsl(267, 71%, 58%)
HSVhsv(267, 68%, 88%)
CMYKcmyk(37.1%, 68.3%, 0%, 12.2%)
CIE-LABlab(46.38, 58.54, -66.77)
CIE-LCHlch(46.38, 88.80, 311.24°)
OKLaboklab(56.36% 0.1114 -0.1903)
OKLCHoklch(56.36% 0.22 300.3)
XYZxyz(26.6890, 15.5508, 72.1021)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47E0 #9AE047
analogous
#474DE0 #8D47E0 #DA47E0
triadic
#8D47E0 #E08D47 #47E08D
tetradic
#8D47E0 #E0474D #9AE047 #47E0DA
square
#8D47E0 #E0474D #9AE047 #47E0DA
split-complementary
#8D47E0 #E0DA47 #4DE047
monochromatic
#511994 #6E22C8 #8D47E0 #AD7BE9 #CEB0F2

Accessibility & contrast

On white

5.11
#8D47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8D47E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47E0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47E0#FFFFFF#000000##FFFFFF
##8D47E01.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d47e0;
/* rgb */ color: rgb(141, 71, 224);
/* oklch */ color: oklch(56.4% 0.220 300.3);
Tailwind
colors: {
  custom: {
    50: '#b47feb',
    500: '#8d47e0',
    950: '#000000',
  },
}
SCSS
$custom: #8d47e0;
$custom-light: #b47feb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47e0",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 267.451,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56358,
    "c": 0.22049,
    "h": 300.3
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D47E0

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

Preview Lab → · Contrast checker → · Palette generator →

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