#8D378A#8D378A

#8D378A is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.8% C 0.156 H 329.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8D378A
RGBrgb(141, 55, 138)
HSLhsl(302, 44%, 38%)
HSVhsv(302, 61%, 55%)
CMYKcmyk(0%, 61%, 2.1%, 44.7%)
CIE-LABlab(38.25, 47.52, -29.13)
CIE-LCHlch(38.25, 55.73, 328.49°)
OKLaboklab(48.78% 0.1335 -0.0801)
OKLCHoklch(48.78% 0.156 329)
XYZxyz(16.9380, 10.2312, 25.1225)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D378A #378D3A
analogous
#65378D #8D378A #8D375F
triadic
#8D378A #8A8D37 #378A8D
tetradic
#8D378A #8D6537 #378D3A #375F8D
square
#8D378A #8D6537 #378D3A #375F8D
split-complementary
#8D378A #5F8D37 #378D65
monochromatic
#351534 #61265F #8D378A #B849B4 #C975C6

Accessibility & contrast

On white

6.89
#8D378A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8D378A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D378A
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D378A#FFFFFF#000000##FFFFFF
##8D378A1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#92415B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d378a;
/* rgb */ color: rgb(141, 55, 138);
/* oklch */ color: oklch(48.8% 0.156 329.0);
Tailwind
colors: {
  custom: {
    50: '#b173ac',
    500: '#8d378a',
    950: '#000000',
  },
}
SCSS
$custom: #8d378a;
$custom-light: #b173ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d378a",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 302.093,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48775,
    "c": 0.15572,
    "h": 329
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#8D378A
secondary
#6EB270
accent
#D45954
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D378A

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

Preview Lab → · Contrast checker → · Palette generator →

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