#8D399F#8D399F

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

Color values

HEX#8D399F
RGBrgb(141, 57, 159)
HSLhsl(289, 47%, 42%)
HSVhsv(289, 64%, 62%)
CMYKcmyk(11.3%, 64.2%, 0%, 37.6%)
CIE-LABlab(39.74, 50.59, -39.52)
CIE-LCHlch(39.74, 64.20, 322.00°)
OKLaboklab(50.22% 0.1322 -0.1103)
OKLCHoklch(50.22% 0.172 320.2)
XYZxyz(18.7049, 11.0931, 33.9501)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D399F #4B9F39
analogous
#5A399F #8D399F #9F397E
triadic
#8D399F #9F8D39 #399F8D
tetradic
#8D399F #9F5A39 #4B9F39 #397E9F
square
#8D399F #9F5A39 #4B9F39 #397E9F
split-complementary
#8D399F #7E9F39 #399F5A
monochromatic
#3D1945 #652972 #8D399F #AE54C2 #C381D2

Accessibility & contrast

On white

6.52
#8D399F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8D399F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D399F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D399F#FFFFFF#000000##FFFFFF
##8D399F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#42619C
Tritanopia (blue-blind)
#8E4A67
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d399f;
/* rgb */ color: rgb(141, 57, 159);
/* oklch */ color: oklch(50.2% 0.172 320.2);
Tailwind
colors: {
  custom: {
    50: '#b175bc',
    500: '#8d399f',
    950: '#000000',
  },
}
SCSS
$custom: #8d399f;
$custom-light: #b175bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d399f",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 289.412,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.17217,
    "h": 320.2
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#8D399F
secondary
#84BB78
accent
#D75169
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D399F

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

Preview Lab → · Contrast checker → · Palette generator →

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