#8D47E3#8D47E3

#8D47E3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.224 H 299.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8D47E3
RGBrgb(141, 71, 227)
HSLhsl(267, 74%, 58%)
HSVhsv(267, 69%, 89%)
CMYKcmyk(37.9%, 68.7%, 0%, 11%)
CIE-LABlab(46.60, 59.27, -68.12)
CIE-LCHlch(46.60, 90.29, 311.02°)
OKLaboklab(56.58% 0.1109 -0.1943)
OKLCHoklch(56.58% 0.224 299.7)
XYZxyz(27.0994, 15.7150, 74.2637)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47E3 #9DE347
analogous
#474FE3 #8D47E3 #DB47E3
triadic
#8D47E3 #E38D47 #47E38D
tetradic
#8D47E3 #E3474F #9DE347 #47E3DB
square
#8D47E3 #E3474F #9DE347 #47E3DB
split-complementary
#8D47E3 #E3DB47 #4FE347
monochromatic
#511798 #6D1FCE #8D47E3 #AE7CEB #CFB1F3

Accessibility & contrast

On white

5.07
#8D47E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8D47E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47E3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47E3#FFFFFF#000000##FFFFFF
##8D47E31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#796C90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d47e3;
/* rgb */ color: rgb(141, 71, 227);
/* oklch */ color: oklch(56.6% 0.224 299.7);
Tailwind
colors: {
  custom: {
    50: '#b57fed',
    500: '#8d47e3',
    950: '#000000',
  },
}
SCSS
$custom: #8d47e3;
$custom-light: #b57fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47e3",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 227
  },
  "hsl": {
    "h": 266.923,
    "s": 73.585,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56583,
    "c": 0.2237,
    "h": 299.7
  },
  "luminance": 0.15715
}

Semantic roles & 50–950 ramp

primary
#8D47E3
secondary
#C6E2A4
accent
#F0389D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D47E3

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

Preview Lab → · Contrast checker → · Palette generator →

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