#8D4DDC#8D4DDC

#8D4DDC is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.209 H 300.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8D4DDC
RGBrgb(141, 77, 220)
HSLhsl(267, 67%, 58%)
HSVhsv(267, 65%, 86%)
CMYKcmyk(35.9%, 65%, 0%, 13.7%)
CIE-LABlab(47.15, 54.64, -63.24)
CIE-LCHlch(47.15, 83.58, 310.83°)
OKLaboklab(56.82% 0.1056 -0.1799)
OKLCHoklch(56.82% 0.209 300.4)
XYZxyz(26.5535, 16.1376, 69.4122)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DDC #9CDC4D
analogous
#4D54DC #8D4DDC #D44DDC
triadic
#8D4DDC #DC8D4D #4DDC8D
tetradic
#8D4DDC #DC4D54 #9CDC4D #4DDCD4
square
#8D4DDC #DC4D54 #9CDC4D #4DDCD4
split-complementary
#8D4DDC #DCD44D #54DC4D
monochromatic
#511D92 #6E27C5 #8D4DDC #AE80E6 #CFB3F0

Accessibility & contrast

On white

4.97
#8D4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8D4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DDC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DDC#FFFFFF#000000##FFFFFF
##8D4DDC1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#7C6D8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d4ddc;
/* rgb */ color: rgb(141, 77, 220);
/* oklch */ color: oklch(56.8% 0.209 300.4);
Tailwind
colors: {
  custom: {
    50: '#b483e8',
    500: '#8d4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ddc;
$custom-light: #b483e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ddc",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 266.853,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.20864,
    "h": 300.4
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#8D4DDC
secondary
#C5DFA6
accent
#EA3E9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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