#8D4E99#8D4E99

#8D4E99 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.8% C 0.133 H 321.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8D4E99
RGBrgb(141, 78, 153)
HSLhsl(290, 32%, 45%)
HSVhsv(290, 49%, 60%)
CMYKcmyk(7.8%, 49%, 0%, 40%)
CIE-LABlab(43.38, 38.74, -30.17)
CIE-LCHlch(43.38, 49.11, 322.09°)
OKLaboklab(52.79% 0.103 -0.0833)
OKLCHoklch(52.79% 0.133 321)
XYZxyz(19.4580, 13.4122, 31.6947)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E99 #5A994E
analogous
#674E99 #8D4E99 #994E7F
triadic
#8D4E99 #998D4E #4E998D
tetradic
#8D4E99 #99674E #5A994E #4E7F99
square
#8D4E99 #99674E #5A994E #4E7F99
split-complementary
#8D4E99 #7F994E #4E9967
monochromatic
#422548 #683970 #8D4E99 #AA6FB5 #C297CA

Accessibility & contrast

On white

5.70
#8D4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8D4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E99
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E99#FFFFFF#000000##FFFFFF
##8D4E991.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629C
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#8E586C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d4e99;
/* rgb */ color: rgb(141, 78, 153);
/* oklch */ color: oklch(52.8% 0.133 321.0);
Tailwind
colors: {
  custom: {
    50: '#b082b7',
    500: '#8d4e99',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e99;
$custom-light: #b082b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e99",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 290.4,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.1325,
    "h": 321
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#8D4E99
secondary
#93B78C
accent
#C95F70
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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