#8D47CE#8D47CE

#8D47CE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.201 H 304.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8D47CE
RGBrgb(141, 71, 206)
HSLhsl(271, 58%, 54%)
HSVhsv(271, 66%, 81%)
CMYKcmyk(31.6%, 65.5%, 0%, 19.2%)
CIE-LABlab(45.12, 54.24, -58.52)
CIE-LCHlch(45.12, 79.79, 312.82°)
OKLaboklab(55.06% 0.1135 -0.166)
OKLCHoklch(55.06% 0.201 304.4)
XYZxyz(24.3758, 14.6255, 59.9194)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47CE #88CE47
analogous
#4A47CE #8D47CE #CE47CC
triadic
#8D47CE #CE8D47 #47CE8D
tetradic
#8D47CE #CE4A47 #88CE47 #47CCCE
square
#8D47CE #CE4A47 #88CE47 #47CCCE
split-complementary
#8D47CE #CCCE47 #47CE4A
monochromatic
#4F217A #6E2DAA #8D47CE #AB77DB #C9A8E8

Accessibility & contrast

On white

5.35
#8D47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8D47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47CE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47CE#FFFFFF#000000##FFFFFF
##8D47CE1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#1C6BCB
Tritanopia (blue-blind)
#816584
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d47ce;
/* rgb */ color: rgb(141, 71, 206);
/* oklch */ color: oklch(55.1% 0.201 304.4);
Tailwind
colors: {
  custom: {
    50: '#b37fde',
    500: '#8d47ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d47ce;
$custom-light: #b37fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47ce",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 271.111,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55055,
    "c": 0.20116,
    "h": 304.4
  },
  "luminance": 0.14625
}

Semantic roles & 50–950 ramp

primary
#8D47CE
secondary
#B7D59C
accent
#E14791
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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