#8D4DCF#8D4DCF

#8D4DCF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.9% C 0.194 H 303.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8D4DCF
RGBrgb(141, 77, 207)
HSLhsl(270, 58%, 56%)
HSVhsv(270, 63%, 81%)
CMYKcmyk(31.9%, 62.8%, 0%, 18.8%)
CIE-LABlab(46.28, 51.48, -57.22)
CIE-LCHlch(46.28, 76.97, 311.98°)
OKLaboklab(55.91% 0.1067 -0.1623)
OKLCHoklch(55.91% 0.194 303.3)
XYZxyz(24.8983, 15.4755, 60.6947)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DCF #8FCF4D
analogous
#4D4ECF #8D4DCF #CE4DCF
triadic
#8D4DCF #CF8D4D #4DCF8D
tetradic
#8D4DCF #CF4D4E #8FCF4D #4DCFCE
square
#8D4DCF #CF4D4E #8FCF4D #4DCFCE
split-complementary
#8D4DCF #CFCE4D #4ECF4D
monochromatic
#50227F #6E2FAF #8D4DCF #AC7DDC #CBADE9

Accessibility & contrast

On white

5.13
#8D4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8D4DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DCF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DCF#FFFFFF#000000##FFFFFF
##8D4DCF1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#266DCC
Tritanopia (blue-blind)
#806987
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d4dcf;
/* rgb */ color: rgb(141, 77, 207);
/* oklch */ color: oklch(55.9% 0.194 303.3);
Tailwind
colors: {
  custom: {
    50: '#b382de',
    500: '#8d4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dcf;
$custom-light: #b382de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dcf",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 269.538,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55914,
    "c": 0.19417,
    "h": 303.3
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#8D4DCF
secondary
#BCD7A1
accent
#E14795
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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