#8D47E6#8D47E6

#8D47E6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.227 H 299.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D47E6
RGBrgb(141, 71, 230)
HSLhsl(266, 76%, 59%)
HSVhsv(266, 69%, 90%)
CMYKcmyk(38.7%, 69.1%, 0%, 9.8%)
CIE-LABlab(46.82, 60.00, -69.46)
CIE-LCHlch(46.82, 91.79, 310.82°)
OKLaboklab(56.81% 0.1104 -0.1982)
OKLCHoklch(56.81% 0.227 299.1)
XYZxyz(27.5171, 15.8820, 76.4634)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47E6 #A0E647
analogous
#4751E6 #8D47E6 #DD47E6
triadic
#8D47E6 #E68D47 #47E68D
tetradic
#8D47E6 #E64751 #A0E647 #47E6DD
square
#8D47E6 #E64751 #A0E647 #47E6DD
split-complementary
#8D47E6 #E6DD47 #51E647
monochromatic
#51159D #6D1DD3 #8D47E6 #AE7DED #D0B3F5

Accessibility & contrast

On white

5.03
#8D47E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8D47E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47E6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47E6#FFFFFF#000000##FFFFFF
##8D47E61.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#786E92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d47e6;
/* rgb */ color: rgb(141, 71, 230);
/* oklch */ color: oklch(56.8% 0.227 299.1);
Tailwind
colors: {
  custom: {
    50: '#b57fef',
    500: '#8d47e6',
    950: '#000000',
  },
}
SCSS
$custom: #8d47e6;
$custom-light: #b57fef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47e6",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 266.415,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.2269,
    "h": 299.1
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#8D47E6
secondary
#C8E4A5
accent
#F3359F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8D47E6

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

Preview Lab → · Contrast checker → · Palette generator →

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