#8D4DCD#8D4DCD

#8D4DCD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.192 H 303.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D4DCD
RGBrgb(141, 77, 205)
HSLhsl(270, 56%, 55%)
HSVhsv(270, 62%, 80%)
CMYKcmyk(31.2%, 62.4%, 0%, 19.6%)
CIE-LABlab(46.15, 51.00, -56.28)
CIE-LCHlch(46.15, 75.95, 312.18°)
OKLaboklab(55.78% 0.1068 -0.1595)
OKLCHoklch(55.78% 0.192 303.8)
XYZxyz(24.6553, 15.3783, 59.4152)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DCD #8DCD4D
analogous
#4D4DCD #8D4DCD #CD4DCD
triadic
#8D4DCD #CD8D4D #4DCD8D
tetradic
#8D4DCD #CD4D4D #8DCD4D #4DCDCD
square
#8D4DCD #CD4D4D #8DCD4D #4DCDCD
split-complementary
#8D4DCD #CDCD4D #4DCD4D
monochromatic
#50237D #6E30AC #8D4DCD #AC7DDA #CAADE8

Accessibility & contrast

On white

5.15
#8D4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8D4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DCD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DCD#FFFFFF#000000##FFFFFF
##8D4DCD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#816886
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4dcd;
/* rgb */ color: rgb(141, 77, 205);
/* oklch */ color: oklch(55.8% 0.192 303.8);
Tailwind
colors: {
  custom: {
    50: '#b382dd',
    500: '#8d4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dcd;
$custom-light: #b382dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dcd",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.19193,
    "h": 303.8
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#8D4DCD
secondary
#BBD6A0
accent
#DF4894
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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