#8D4CDC#8D4CDC

#8D4CDC is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.210 H 300.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D4CDC
RGBrgb(141, 76, 220)
HSLhsl(267, 67%, 58%)
HSVhsv(267, 65%, 86%)
CMYKcmyk(35.9%, 65.5%, 0%, 13.7%)
CIE-LABlab(46.97, 55.14, -63.54)
CIE-LCHlch(46.97, 84.13, 310.95°)
OKLaboklab(56.69% 0.1067 -0.1808)
OKLCHoklch(56.69% 0.21 300.5)
XYZxyz(26.4841, 15.9987, 69.3890)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CDC #9BDC4C
analogous
#4C53DC #8D4CDC #D54CDC
triadic
#8D4CDC #DC8D4C #4CDC8D
tetradic
#8D4CDC #DC4C53 #9BDC4C #4CDCD5
square
#8D4CDC #DC4C53 #9BDC4C #4CDCD5
split-complementary
#8D4CDC #DCD54C #53DC4C
monochromatic
#511C91 #6E26C4 #8D4CDC #AE7FE6 #CEB2F0

Accessibility & contrast

On white

5.00
#8D4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8D4CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CDC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CDC#FFFFFF#000000##FFFFFF
##8D4CDC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#7C6D8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4cdc;
/* rgb */ color: rgb(141, 76, 220);
/* oklch */ color: oklch(56.7% 0.210 300.5);
Tailwind
colors: {
  custom: {
    50: '#b482e8',
    500: '#8d4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cdc;
$custom-light: #b482e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cdc",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 267.083,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56694,
    "c": 0.20993,
    "h": 300.5
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#8D4CDC
secondary
#C5DFA5
accent
#EA3E9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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