#8D399E#8D399E

#8D399E is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.2% C 0.171 H 320.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8D399E
RGBrgb(141, 57, 158)
HSLhsl(290, 47%, 42%)
HSVhsv(290, 64%, 62%)
CMYKcmyk(10.8%, 63.9%, 0%, 38%)
CIE-LABlab(39.68, 50.39, -39.01)
CIE-LCHlch(39.68, 63.73, 322.25°)
OKLaboklab(50.16% 0.1322 -0.1088)
OKLCHoklch(50.16% 0.171 320.5)
XYZxyz(18.6185, 11.0585, 33.4949)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D399E #4A9E39
analogous
#5B399E #8D399E #9E397D
triadic
#8D399E #9E8D39 #399E8D
tetradic
#8D399E #9E5B39 #4A9E39 #397D9E
square
#8D399E #9E5B39 #4A9E39 #397D9E
split-complementary
#8D399E #7D9E39 #399E5B
monochromatic
#3D1944 #652971 #8D399E #AF53C1 #C480D1

Accessibility & contrast

On white

6.54
#8D399E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8D399E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D399E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D399E#FFFFFF#000000##FFFFFF
##8D399E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#42619B
Tritanopia (blue-blind)
#8E4A66
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d399e;
/* rgb */ color: rgb(141, 57, 158);
/* oklch */ color: oklch(50.2% 0.171 320.5);
Tailwind
colors: {
  custom: {
    50: '#b175bb',
    500: '#8d399e',
    950: '#000000',
  },
}
SCSS
$custom: #8d399e;
$custom-light: #b175bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d399e",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 289.901,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.17121,
    "h": 320.5
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#8D399E
secondary
#83BB78
accent
#D75168
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D399E

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

Preview Lab → · Contrast checker → · Palette generator →

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