#8D47CD#8D47CD

#8D47CD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.200 H 304.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8D47CD
RGBrgb(141, 71, 205)
HSLhsl(271, 57%, 54%)
HSVhsv(271, 65%, 80%)
CMYKcmyk(31.2%, 65.4%, 0%, 19.6%)
CIE-LABlab(45.05, 54.00, -58.05)
CIE-LCHlch(45.05, 79.29, 312.93°)
OKLaboklab(54.98% 0.1136 -0.1647)
OKLCHoklch(54.98% 0.2 304.6)
XYZxyz(24.2547, 14.5771, 59.2816)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47CD #87CD47
analogous
#4A47CD #8D47CD #CD47CA
triadic
#8D47CD #CD8D47 #47CD8D
tetradic
#8D47CD #CD4A47 #87CD47 #47CACD
square
#8D47CD #CD4A47 #87CD47 #47CACD
split-complementary
#8D47CD #CACD47 #47CD4A
monochromatic
#4F2179 #6E2EA9 #8D47CD #AB77DA #C9A7E7

Accessibility & contrast

On white

5.36
#8D47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D47CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47CD#FFFFFF#000000##FFFFFF
##8D47CD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#1E6BCA
Tritanopia (blue-blind)
#816484
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d47cd;
/* rgb */ color: rgb(141, 71, 205);
/* oklch */ color: oklch(55.0% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#b37fdd',
    500: '#8d47cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d47cd;
$custom-light: #b37fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47cd",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 271.343,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54985,
    "c": 0.20008,
    "h": 304.6
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#8D47CD
secondary
#B7D49B
accent
#E14790
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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