#8D47C7#8D47C7

#8D47C7 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.194 H 306.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8D47C7
RGBrgb(141, 71, 199)
HSLhsl(273, 53%, 53%)
HSVhsv(273, 64%, 78%)
CMYKcmyk(29.1%, 64.3%, 0%, 22%)
CIE-LABlab(44.65, 52.59, -55.23)
CIE-LCHlch(44.65, 76.27, 313.60°)
OKLaboklab(54.57% 0.1141 -0.1564)
OKLCHoklch(54.57% 0.194 306.1)
XYZxyz(23.5443, 14.2929, 55.5402)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47C7 #81C747
analogous
#4D47C7 #8D47C7 #C747C1
triadic
#8D47C7 #C78D47 #47C78D
tetradic
#8D47C7 #C74D47 #81C747 #47C1C7
square
#8D47C7 #C74D47 #81C747 #47C1C7
split-complementary
#8D47C7 #C1C747 #47C74D
monochromatic
#4D2271 #6E31A0 #8D47C7 #AA76D5 #C7A5E4

Accessibility & contrast

On white

5.44
#8D47C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8D47C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47C7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47C7#FFFFFF#000000##FFFFFF
##8D47C71.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#296AC4
Tritanopia (blue-blind)
#836281
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d47c7;
/* rgb */ color: rgb(141, 71, 199);
/* oklch */ color: oklch(54.6% 0.194 306.1);
Tailwind
colors: {
  custom: {
    50: '#b27ed9',
    500: '#8d47c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d47c7;
$custom-light: #b27ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47c7",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 272.813,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5457,
    "c": 0.19359,
    "h": 306.1
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#8D47C7
secondary
#B2D199
accent
#DD4B8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D47C7

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

Preview Lab → · Contrast checker → · Palette generator →

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