#8D4DEC#8D4DEC

#8D4DEC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.226 H 297.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8D4DEC
RGBrgb(141, 77, 236)
HSLhsl(264, 81%, 61%)
HSVhsv(264, 67%, 93%)
CMYKcmyk(40.3%, 67.4%, 0%, 7.5%)
CIE-LABlab(48.29, 58.61, -70.45)
CIE-LCHlch(48.29, 91.64, 309.76°)
OKLaboklab(58% 0.1036 -0.2011)
OKLCHoklch(58% 0.226 297.3)
XYZxyz(28.7748, 17.0261, 81.1109)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DEC #ACEC4D
analogous
#4D5DEC #8D4DEC #DD4DEC
triadic
#8D4DEC #EC8D4D #4DEC8D
tetradic
#8D4DEC #EC4D5D #ACEC4D #4DECDD
square
#8D4DEC #EC4D5D #ACEC4D #4DECDD
split-complementary
#8D4DEC #ECDD4D #5DEC4D
monochromatic
#5012AC #6A18E4 #8D4DEC #B084F2 #D4BCF8

Accessibility & contrast

On white

4.77
#8D4DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8D4DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DEC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DEC#FFFFFF#000000##FFFFFF
##8D4DEC1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#757397
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d4dec;
/* rgb */ color: rgb(141, 77, 236);
/* oklch */ color: oklch(58.0% 0.226 297.3);
Tailwind
colors: {
  custom: {
    50: '#b583f3',
    500: '#8d4dec',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dec;
$custom-light: #b583f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dec",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 264.151,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58,
    "c": 0.22627,
    "h": 297.3
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#8D4DEC
secondary
#D0E8AD
accent
#DD0887
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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