#8D47E2#8D47E2

#8D47E2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.223 H 299.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8D47E2
RGBrgb(141, 71, 226)
HSLhsl(267, 73%, 58%)
HSVhsv(267, 69%, 89%)
CMYKcmyk(37.6%, 68.6%, 0%, 11.4%)
CIE-LABlab(46.53, 59.02, -67.67)
CIE-LCHlch(46.53, 89.80, 311.09°)
OKLaboklab(56.51% 0.1111 -0.193)
OKLCHoklch(56.51% 0.223 299.9)
XYZxyz(26.9618, 15.6599, 73.5390)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47E2 #9CE247
analogous
#474EE2 #8D47E2 #DB47E2
triadic
#8D47E2 #E28D47 #47E28D
tetradic
#8D47E2 #E2474E #9CE247 #47E2DB
square
#8D47E2 #E2474E #9CE247 #47E2DB
split-complementary
#8D47E2 #E2DB47 #4EE247
monochromatic
#511897 #6E20CC #8D47E2 #AE7CEA #CFB1F3

Accessibility & contrast

On white

5.08
#8D47E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D47E2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47E2#FFFFFF#000000##FFFFFF
##8D47E21.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#7A6C8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d47e2;
/* rgb */ color: rgb(141, 71, 226);
/* oklch */ color: oklch(56.5% 0.223 299.9);
Tailwind
colors: {
  custom: {
    50: '#b57fec',
    500: '#8d47e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d47e2;
$custom-light: #b57fec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47e2",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 267.097,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56508,
    "c": 0.22263,
    "h": 299.9
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#8D47E2
secondary
#C5E1A4
accent
#EF389D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D47E2

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

Preview Lab → · Contrast checker → · Palette generator →

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