#8D4DB1#8D4DB1

#8D4DB1 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.161 H 311.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8D4DB1
RGBrgb(141, 77, 177)
HSLhsl(278, 39%, 50%)
HSVhsv(278, 56%, 69%)
CMYKcmyk(20.3%, 56.5%, 0%, 30.6%)
CIE-LABlab(44.44, 44.48, -42.73)
CIE-LCHlch(44.44, 61.68, 316.15°)
OKLaboklab(53.99% 0.1069 -0.1198)
OKLCHoklch(53.99% 0.161 311.7)
XYZxyz(21.5728, 14.1453, 43.1803)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DB1 #71B14D
analogous
#5B4DB1 #8D4DB1 #B14DA3
triadic
#8D4DB1 #B18D4D #4DB18D
tetradic
#8D4DB1 #B15B4D #71B14D #4DA3B1
square
#8D4DB1 #B15B4D #71B14D #4DA3B1
split-complementary
#8D4DB1 #A3B14D #4DB15B
monochromatic
#49285C #6B3A86 #8D4DB1 #A877C4 #C4A2D6

Accessibility & contrast

On white

5.48
#8D4DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8D4DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DB1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DB1#FFFFFF#000000##FFFFFF
##8D4DB11.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B4
Deuteranopia (green-blind)
#466AAF
Tritanopia (blue-blind)
#895E78
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4db1;
/* rgb */ color: rgb(141, 77, 177);
/* oklch */ color: oklch(54.0% 0.161 311.7);
Tailwind
colors: {
  custom: {
    50: '#b182c9',
    500: '#8d4db1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4db1;
$custom-light: #b182c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4db1",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 278.4,
    "s": 39.37,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53985,
    "c": 0.16055,
    "h": 311.7
  },
  "luminance": 0.14145
}

Semantic roles & 50–950 ramp

primary
#8D4DB1
secondary
#A7C496
accent
#CF5983
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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