#8D4CD0#8D4CD0

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

Color values

HEX#8D4CD0
RGBrgb(141, 76, 208)
HSLhsl(270, 58%, 56%)
HSVhsv(270, 63%, 82%)
CMYKcmyk(32.2%, 63.5%, 0%, 18.4%)
CIE-LABlab(46.16, 52.23, -57.99)
CIE-LCHlch(46.16, 78.04, 312.01°)
OKLaboklab(55.85% 0.1077 -0.1645)
OKLCHoklch(55.85% 0.197 303.2)
XYZxyz(24.9515, 15.3857, 61.3175)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CD0 #8FD04C
analogous
#4C4DD0 #8D4CD0 #CF4CD0
triadic
#8D4CD0 #D08D4C #4CD08D
tetradic
#8D4CD0 #D04C4D #8FD04C #4CD0CF
square
#8D4CD0 #D04C4D #8FD04C #4CD0CF
split-complementary
#8D4CD0 #D0CF4C #4DD04C
monochromatic
#502280 #6E2EB0 #8D4CD0 #AC7CDD #CBADE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D4CD0#FFFFFF#000000##FFFFFF
##8D4CD01.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)
#006CD4
Deuteranopia (green-blind)
#226DCD
Tritanopia (blue-blind)
#806887
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4cd0;
/* rgb */ color: rgb(141, 76, 208);
/* oklch */ color: oklch(55.8% 0.197 303.2);
Tailwind
colors: {
  custom: {
    50: '#b382df',
    500: '#8d4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cd0;
$custom-light: #b382df;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cd0",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 269.545,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.19665,
    "h": 303.2
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#8D4CD0
secondary
#BCD7A0
accent
#E24695
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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