#8D3E79#8D3E79

#8D3E79 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 48.8% C 0.130 H 338.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8D3E79
RGBrgb(141, 62, 121)
HSLhsl(315, 39%, 40%)
HSVhsv(315, 56%, 55%)
CMYKcmyk(0%, 56%, 14.2%, 44.7%)
CIE-LABlab(38.71, 41.18, -17.94)
CIE-LCHlch(38.71, 44.92, 336.45°)
OKLaboklab(48.85% 0.1208 -0.0483)
OKLCHoklch(48.85% 0.13 338.2)
XYZxyz(16.1585, 10.4897, 19.2591)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3E79 #3E8D52
analogous
#7A3E8D #8D3E79 #8D3E52
triadic
#8D3E79 #798D3E #3E798D
tetradic
#8D3E79 #8D7A3E #3E8D52 #3E528D
square
#8D3E79 #8D7A3E #3E8D52 #3E528D
split-complementary
#8D3E79 #528D3E #3E8D7A
monochromatic
#381930 #622B55 #8D3E79 #B4549C #C77FB4

Accessibility & contrast

On white

6.78
#8D3E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8D3E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3E79
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3E79#FFFFFF#000000##FFFFFF
##8D3E791.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537B
Deuteranopia (green-blind)
#576077
Tritanopia (blue-blind)
#944156
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d3e79;
/* rgb */ color: rgb(141, 62, 121);
/* oklch */ color: oklch(48.8% 0.130 338.2);
Tailwind
colors: {
  custom: {
    50: '#b077a0',
    500: '#8d3e79',
    950: '#000000',
  },
}
SCSS
$custom: #8d3e79;
$custom-light: #b077a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3e79",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 315.19,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48847,
    "c": 0.13014,
    "h": 338.2
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#8D3E79
secondary
#76B185
accent
#CF7759
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8D3E79

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

Preview Lab → · Contrast checker → · Palette generator →

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