#8D399C#8D399C

#8D399C is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 321.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8D399C
RGBrgb(141, 57, 156)
HSLhsl(291, 46%, 42%)
HSVhsv(291, 63%, 61%)
CMYKcmyk(9.6%, 63.5%, 0%, 38.8%)
CIE-LABlab(39.56, 49.99, -37.99)
CIE-LCHlch(39.56, 62.79, 322.77°)
OKLaboklab(50.04% 0.1321 -0.1058)
OKLCHoklch(50.04% 0.169 321.3)
XYZxyz(18.4477, 10.9902, 32.5957)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D399C #489C39
analogous
#5C399C #8D399C #9C397A
triadic
#8D399C #9C8D39 #399C8D
tetradic
#8D399C #9C5C39 #489C39 #397A9C
square
#8D399C #9C5C39 #489C39 #397A9C
split-complementary
#8D399C #7A9C39 #399C5C
monochromatic
#3C1842 #64296F #8D399C #AF52C0 #C47FD0

Accessibility & contrast

On white

6.57
#8D399C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8D399C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D399C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D399C#FFFFFF#000000##FFFFFF
##8D399C1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#8E4965
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d399c;
/* rgb */ color: rgb(141, 57, 156);
/* oklch */ color: oklch(50.0% 0.169 321.3);
Tailwind
colors: {
  custom: {
    50: '#b175ba',
    500: '#8d399c',
    950: '#000000',
  },
}
SCSS
$custom: #8d399c;
$custom-light: #b175ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d399c",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 290.909,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50043,
    "c": 0.1693,
    "h": 321.3
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#8D399C
secondary
#81BA77
accent
#D65266
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D399C

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

Preview Lab → · Contrast checker → · Palette generator →

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