#8D4E9D#8D4E9D

#8D4E9D is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.0% C 0.137 H 319.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D4E9D
RGBrgb(141, 78, 157)
HSLhsl(288, 34%, 46%)
HSVhsv(288, 50%, 62%)
CMYKcmyk(10.2%, 50.3%, 0%, 38.4%)
CIE-LABlab(43.58, 39.58, -32.25)
CIE-LCHlch(43.58, 51.06, 320.82°)
OKLaboklab(53% 0.1036 -0.0893)
OKLCHoklch(53% 0.137 319.2)
XYZxyz(19.7939, 13.5466, 33.4638)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E9D #5E9D4E
analogous
#654E9D #8D4E9D #9D4E85
triadic
#8D4E9D #9D8D4E #4E9D8D
tetradic
#8D4E9D #9D654E #5E9D4E #4E859D
square
#8D4E9D #9D654E #5E9D4E #4E859D
split-complementary
#8D4E9D #859D4E #4E9D65
monochromatic
#44254B #683A74 #8D4E9D #A970B8 #C299CC

Accessibility & contrast

On white

5.66
#8D4E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8D4E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E9D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E9D#FFFFFF#000000##FFFFFF
##8D4E9D1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4063A0
Deuteranopia (green-blind)
#53699B
Tritanopia (blue-blind)
#8D596E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d4e9d;
/* rgb */ color: rgb(141, 78, 157);
/* oklch */ color: oklch(53.0% 0.137 319.2);
Tailwind
colors: {
  custom: {
    50: '#b082ba',
    500: '#8d4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e9d;
$custom-light: #b082ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e9d",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 287.848,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53,
    "c": 0.13682,
    "h": 319.2
  },
  "luminance": 0.13546
}

Semantic roles & 50–950 ramp

primary
#8D4E9D
secondary
#97B98E
accent
#CA5E74
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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