#8D47BC#8D47BC

#8D47BC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.182 H 309.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8D47BC
RGBrgb(141, 71, 188)
HSLhsl(276, 47%, 51%)
HSVhsv(276, 62%, 74%)
CMYKcmyk(25%, 62.2%, 0%, 26.3%)
CIE-LABlab(43.95, 50.06, -49.97)
CIE-LCHlch(43.95, 70.73, 315.05°)
OKLaboklab(53.84% 0.1147 -0.1409)
OKLCHoklch(53.84% 0.182 309.1)
XYZxyz(22.3131, 13.8004, 49.0555)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47BC #76BC47
analogous
#5247BC #8D47BC #BC47B1
triadic
#8D47BC #BC8D47 #47BC8D
tetradic
#8D47BC #BC5247 #76BC47 #47B1BC
square
#8D47BC #BC5247 #76BC47 #47B1BC
split-complementary
#8D47BC #B1BC47 #47BC52
monochromatic
#4B2464 #6C3591 #8D47BC #A974CC #C5A1DD

Accessibility & contrast

On white

5.59
#8D47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8D47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47BC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47BC#FFFFFF#000000##FFFFFF
##8D47BC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D65C0
Deuteranopia (green-blind)
#3669B9
Tritanopia (blue-blind)
#865E7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d47bc;
/* rgb */ color: rgb(141, 71, 188);
/* oklch */ color: oklch(53.8% 0.182 309.1);
Tailwind
colors: {
  custom: {
    50: '#b27ed1',
    500: '#8d47bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d47bc;
$custom-light: #b27ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47bc",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 275.897,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.1817,
    "h": 309.1
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#8D47BC
secondary
#AAC995
accent
#D65287
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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