#8D397E#8D397E

#8D397E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.4% C 0.142 H 335.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8D397E
RGBrgb(141, 57, 126)
HSLhsl(311, 42%, 39%)
HSVhsv(311, 60%, 55%)
CMYKcmyk(0%, 59.6%, 10.6%, 44.7%)
CIE-LABlab(38.02, 44.48, -22.11)
CIE-LCHlch(38.02, 49.67, 333.57°)
OKLaboklab(48.41% 0.1291 -0.0601)
OKLCHoklch(48.41% 0.142 335)
XYZxyz(16.2136, 10.0966, 20.8295)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D397E #398D48
analogous
#72398D #8D397E #8D3954
triadic
#8D397E #7E8D39 #397E8D
tetradic
#8D397E #8D7239 #398D48 #39548D
square
#8D397E #8D7239 #398D48 #39548D
split-complementary
#8D397E #548D39 #398D72
monochromatic
#361630 #612757 #8D397E #B74CA4 #C878BA

Accessibility & contrast

On white

6.96
#8D397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D397E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D397E#FFFFFF#000000##FFFFFF
##8D397E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#943E56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d397e;
/* rgb */ color: rgb(141, 57, 126);
/* oklch */ color: oklch(48.4% 0.142 335.0);
Tailwind
colors: {
  custom: {
    50: '#b174a3',
    500: '#8d397e',
    950: '#000000',
  },
}
SCSS
$custom: #8d397e;
$custom-light: #b174a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d397e",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 310.714,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48409,
    "c": 0.14238,
    "h": 335
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#8D397E
secondary
#70B27C
accent
#D26C56
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D397E

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

Preview Lab → · Contrast checker → · Palette generator →

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