#8D398F#8D398F

#8D398F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.3% C 0.157 H 326.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8D398F
RGBrgb(141, 57, 143)
HSLhsl(299, 43%, 39%)
HSVhsv(299, 60%, 56%)
CMYKcmyk(1.4%, 60.1%, 0%, 43.9%)
CIE-LABlab(38.85, 47.50, -31.24)
CIE-LCHlch(38.85, 56.85, 326.67°)
OKLaboklab(49.3% 0.1314 -0.0862)
OKLCHoklch(49.3% 0.157 326.7)
XYZxyz(17.4052, 10.5732, 27.1053)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D398F #3B8F39
analogous
#62398F #8D398F #8F3966
triadic
#8D398F #8F8D39 #398F8D
tetradic
#8D398F #8F6239 #3B8F39 #39668F
square
#8D398F #8F6239 #3B8F39 #39668F
split-complementary
#8D398F #668F39 #398F62
monochromatic
#371637 #622863 #8D398F #B64DB8 #C879CA

Accessibility & contrast

On white

6.74
#8D398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D398F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D398F#FFFFFF#000000##FFFFFF
##8D398F1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5592
Deuteranopia (green-blind)
#4B5F8D
Tritanopia (blue-blind)
#91445E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d398f;
/* rgb */ color: rgb(141, 57, 143);
/* oklch */ color: oklch(49.3% 0.157 326.7);
Tailwind
colors: {
  custom: {
    50: '#b175b0',
    500: '#8d398f',
    950: '#000000',
  },
}
SCSS
$custom: #8d398f;
$custom-light: #b175b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d398f",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 298.605,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49295,
    "c": 0.15717,
    "h": 326.7
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#8D398F
secondary
#73B371
accent
#D35558
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D398F

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

Preview Lab → · Contrast checker → · Palette generator →

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