#8D4DB5#8D4DB5

#8D4DB5 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.165 H 310.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8D4DB5
RGBrgb(141, 77, 181)
HSLhsl(277, 41%, 51%)
HSVhsv(277, 57%, 71%)
CMYKcmyk(22.1%, 57.5%, 0%, 29%)
CIE-LABlab(44.67, 45.38, -44.71)
CIE-LCHlch(44.67, 63.71, 315.42°)
OKLaboklab(54.23% 0.1071 -0.1256)
OKLCHoklch(54.23% 0.165 310.4)
XYZxyz(21.9773, 14.3071, 45.3109)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DB5 #75B54D
analogous
#594DB5 #8D4DB5 #B54DA9
triadic
#8D4DB5 #B58D4D #4DB58D
tetradic
#8D4DB5 #B5594D #75B54D #4DA9B5
square
#8D4DB5 #B5594D #75B54D #4DA9B5
split-complementary
#8D4DB5 #A9B54D #4DB559
monochromatic
#4A2860 #6C3A8B #8D4DB5 #A978C7 #C4A3D9

Accessibility & contrast

On white

5.44
#8D4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8D4DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DB5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DB5#FFFFFF#000000##FFFFFF
##8D4DB51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B67B8
Deuteranopia (green-blind)
#436BB2
Tritanopia (blue-blind)
#88607A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d4db5;
/* rgb */ color: rgb(141, 77, 181);
/* oklch */ color: oklch(54.2% 0.165 310.4);
Tailwind
colors: {
  custom: {
    50: '#b182cc',
    500: '#8d4db5',
    950: '#000000',
  },
}
SCSS
$custom: #8d4db5;
$custom-light: #b182cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4db5",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 276.923,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.16502,
    "h": 310.4
  },
  "luminance": 0.14307
}

Semantic roles & 50–950 ramp

primary
#8D4DB5
secondary
#AAC698
accent
#D15786
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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