#8D4DC8#8D4DC8

#8D4DC8 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.186 H 305.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8D4DC8
RGBrgb(141, 77, 200)
HSLhsl(271, 53%, 54%)
HSVhsv(271, 62%, 78%)
CMYKcmyk(29.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(45.83, 49.81, -53.92)
CIE-LCHlch(45.83, 73.40, 312.73°)
OKLaboklab(55.44% 0.107 -0.1525)
OKLCHoklch(55.44% 0.186 305)
XYZxyz(24.0614, 15.1407, 56.2872)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DC8 #88C84D
analogous
#504DC8 #8D4DC8 #C84DC5
triadic
#8D4DC8 #C88D4D #4DC88D
tetradic
#8D4DC8 #C8504D #88C84D #4DC5C8
square
#8D4DC8 #C8504D #88C84D #4DC5C8
split-complementary
#8D4DC8 #C5C84D #4DC850
monochromatic
#4F2476 #6E33A5 #8D4DC8 #AB7CD6 #C9ABE5

Accessibility & contrast

On white

5.21
#8D4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8D4DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DC8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DC8#FFFFFF#000000##FFFFFF
##8D4DC81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016BCC
Deuteranopia (green-blind)
#306DC5
Tritanopia (blue-blind)
#836683
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4dc8;
/* rgb */ color: rgb(141, 77, 200);
/* oklch */ color: oklch(55.4% 0.186 305.0);
Tailwind
colors: {
  custom: {
    50: '#b282d9',
    500: '#8d4dc8',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dc8;
$custom-light: #b282d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dc8",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 271.22,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55442,
    "c": 0.18633,
    "h": 305
  },
  "luminance": 0.15141
}

Semantic roles & 50–950 ramp

primary
#8D4DC8
secondary
#B7D29E
accent
#DC4C91
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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