#8D4CD1#8D4CD1

#8D4CD1 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.9% C 0.198 H 303.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8D4CD1
RGBrgb(141, 76, 209)
HSLhsl(269, 59%, 56%)
HSVhsv(269, 64%, 82%)
CMYKcmyk(32.5%, 63.6%, 0%, 18%)
CIE-LABlab(46.22, 52.47, -58.46)
CIE-LCHlch(46.22, 78.55, 311.91°)
OKLaboklab(55.92% 0.1077 -0.1659)
OKLCHoklch(55.92% 0.198 303)
XYZxyz(25.0749, 15.4351, 61.9675)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CD1 #90D14C
analogous
#4C4DD1 #8D4CD1 #CF4CD1
triadic
#8D4CD1 #D18D4C #4CD18D
tetradic
#8D4CD1 #D14C4D #90D14C #4CD1CF
square
#8D4CD1 #D14C4D #90D14C #4CD1CF
split-complementary
#8D4CD1 #D1CF4C #4DD14C
monochromatic
#502181 #6E2EB2 #8D4CD1 #AC7DDE #CBADEA

Accessibility & contrast

On white

5.14
#8D4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8D4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CD1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CD1#FFFFFF#000000##FFFFFF
##8D4CD11.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#206DCE
Tritanopia (blue-blind)
#806988
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d4cd1;
/* rgb */ color: rgb(141, 76, 209);
/* oklch */ color: oklch(55.9% 0.198 303.0);
Tailwind
colors: {
  custom: {
    50: '#b382e0',
    500: '#8d4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cd1;
$custom-light: #b382e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cd1",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 269.323,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.19776,
    "h": 303
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#8D4CD1
secondary
#BDD8A1
accent
#E24696
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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