#8D4399#8D4399

#8D4399 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.2% C 0.151 H 321.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8D4399
RGBrgb(141, 67, 153)
HSLhsl(292, 39%, 43%)
HSVhsv(292, 56%, 60%)
CMYKcmyk(7.8%, 56.2%, 0%, 40%)
CIE-LABlab(41.18, 44.55, -33.63)
CIE-LCHlch(41.18, 55.81, 322.95°)
OKLaboklab(51.17% 0.1188 -0.0932)
OKLCHoklch(51.17% 0.151 321.9)
XYZxyz(18.7408, 11.9778, 31.4556)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4399 #4F9943
analogous
#624399 #8D4399 #99437A
triadic
#8D4399 #998D43 #43998D
tetradic
#8D4399 #996243 #4F9943 #437A99
square
#8D4399 #996243 #4F9943 #437A99
split-complementary
#8D4399 #7A9943 #439962
monochromatic
#3F1E44 #66306E #8D4399 #AD60B9 #C38ACC

Accessibility & contrast

On white

6.18
#8D4399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8D4399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4399
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4399#FFFFFF#000000##FFFFFF
##8D43991.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#4D6497
Tritanopia (blue-blind)
#8F4F67
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d4399;
/* rgb */ color: rgb(141, 67, 153);
/* oklch */ color: oklch(51.2% 0.151 321.9);
Tailwind
colors: {
  custom: {
    50: '#b17bb7',
    500: '#8d4399',
    950: '#000000',
  },
}
SCSS
$custom: #8d4399;
$custom-light: #b17bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4399",
  "rgb": {
    "r": 141,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 291.628,
    "s": 39.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51168,
    "c": 0.15102,
    "h": 321.9
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

primary
#8D4399
secondary
#88B781
accent
#CF5969
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D4399

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

Preview Lab → · Contrast checker → · Palette generator →

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