#8D47E4#8D47E4

#8D47E4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.225 H 299.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8D47E4
RGBrgb(141, 71, 228)
HSLhsl(267, 74%, 59%)
HSVhsv(267, 69%, 89%)
CMYKcmyk(38.2%, 68.9%, 0%, 10.6%)
CIE-LABlab(46.67, 59.51, -68.57)
CIE-LCHlch(46.67, 90.79, 310.95°)
OKLaboklab(56.66% 0.1107 -0.1956)
OKLCHoklch(56.66% 0.225 299.5)
XYZxyz(27.2378, 15.7703, 74.9927)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47E4 #9EE447
analogous
#474FE4 #8D47E4 #DC47E4
triadic
#8D47E4 #E48D47 #47E48D
tetradic
#8D47E4 #E4474F #9EE447 #47E4DC
square
#8D47E4 #E4474F #9EE447 #47E4DC
split-complementary
#8D47E4 #E4DC47 #4FE447
monochromatic
#51179A #6D1ECF #8D47E4 #AE7CEC #CFB2F4

Accessibility & contrast

On white

5.06
#8D47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8D47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47E4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47E4#FFFFFF#000000##FFFFFF
##8D47E41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#796D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d47e4;
/* rgb */ color: rgb(141, 71, 228);
/* oklch */ color: oklch(56.7% 0.225 299.5);
Tailwind
colors: {
  custom: {
    50: '#b57fed',
    500: '#8d47e4',
    950: '#000000',
  },
}
SCSS
$custom: #8d47e4;
$custom-light: #b57fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47e4",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 266.752,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.22476,
    "h": 299.5
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#8D47E4
secondary
#C7E2A4
accent
#F1379E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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