#8D4B9B#8D4B9B

#8D4B9B is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.4% C 0.140 H 320.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8D4B9B
RGBrgb(141, 75, 155)
HSLhsl(290, 35%, 45%)
HSVhsv(290, 52%, 61%)
CMYKcmyk(9%, 51.6%, 0%, 39.2%)
CIE-LABlab(42.86, 40.78, -32.19)
CIE-LCHlch(42.86, 51.95, 321.72°)
OKLaboklab(52.44% 0.1077 -0.0891)
OKLCHoklch(52.44% 0.14 320.4)
XYZxyz(19.4163, 13.0622, 32.5025)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4B9B #599B4B
analogous
#654B9B #8D4B9B #9B4B81
triadic
#8D4B9B #9B8D4B #4B9B8D
tetradic
#8D4B9B #9B654B #599B4B #4B819B
square
#8D4B9B #9B654B #599B4B #4B819B
split-complementary
#8D4B9B #819B4B #4B9B65
monochromatic
#422349 #673772 #8D4B9B #AA6CB8 #C295CC

Accessibility & contrast

On white

5.81
#8D4B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8D4B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4B9B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4B9B#FFFFFF#000000##FFFFFF
##8D4B9B1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619E
Deuteranopia (green-blind)
#526899
Tritanopia (blue-blind)
#8E566C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d4b9b;
/* rgb */ color: rgb(141, 75, 155);
/* oklch */ color: oklch(52.4% 0.140 320.4);
Tailwind
colors: {
  custom: {
    50: '#b080b9',
    500: '#8d4b9b',
    950: '#000000',
  },
}
SCSS
$custom: #8d4b9b;
$custom-light: #b080b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4b9b",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 289.5,
    "s": 34.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.1398,
    "h": 320.4
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#8D4B9B
secondary
#92B88A
accent
#CB5D70
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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