#8D47D1#8D47D1

#8D47D1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.204 H 303.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8D47D1
RGBrgb(141, 71, 209)
HSLhsl(270, 60%, 55%)
HSVhsv(270, 66%, 82%)
CMYKcmyk(32.5%, 66%, 0%, 18%)
CIE-LABlab(45.32, 54.94, -59.92)
CIE-LCHlch(45.32, 81.30, 312.52°)
OKLaboklab(55.27% 0.1132 -0.1701)
OKLCHoklch(55.27% 0.204 303.6)
XYZxyz(24.7437, 14.7727, 61.8571)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47D1 #8BD147
analogous
#4847D1 #8D47D1 #D147D0
triadic
#8D47D1 #D18D47 #47D18D
tetradic
#8D47D1 #D14847 #8BD147 #47D0D1
square
#8D47D1 #D14847 #8BD147 #47D0D1
split-complementary
#8D47D1 #D0D147 #47D148
monochromatic
#4F207E #6E2CAF #8D47D1 #AB78DD #CAA9E9

Accessibility & contrast

On white

5.31
#8D47D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8D47D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47D1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47D1#FFFFFF#000000##FFFFFF
##8D47D11.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#136BCE
Tritanopia (blue-blind)
#806686
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d47d1;
/* rgb */ color: rgb(141, 71, 209);
/* oklch */ color: oklch(55.3% 0.204 303.6);
Tailwind
colors: {
  custom: {
    50: '#b37fe0',
    500: '#8d47d1',
    950: '#000000',
  },
}
SCSS
$custom: #8d47d1;
$custom-light: #b37fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47d1",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 270.435,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.20439,
    "h": 303.6
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#8D47D1
secondary
#B9D79D
accent
#E34593
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D47D1

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

Preview Lab → · Contrast checker → · Palette generator →

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