#8D3E7B#8D3E7B

#8D3E7B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 48.9% C 0.132 H 337.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8D3E7B
RGBrgb(141, 62, 123)
HSLhsl(314, 39%, 40%)
HSVhsv(314, 56%, 55%)
CMYKcmyk(0%, 56%, 12.8%, 44.7%)
CIE-LABlab(38.79, 41.51, -19.05)
CIE-LCHlch(38.79, 45.68, 335.35°)
OKLaboklab(48.94% 0.1213 -0.0514)
OKLCHoklch(48.94% 0.132 337)
XYZxyz(16.2824, 10.5392, 19.9117)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3E7B #3E8D50
analogous
#783E8D #8D3E7B #8D3E54
triadic
#8D3E7B #7B8D3E #3E7B8D
tetradic
#8D3E7B #8D783E #3E8D50 #3E548D
square
#8D3E7B #8D783E #3E8D50 #3E548D
split-complementary
#8D3E7B #548D3E #3E8D78
monochromatic
#381931 #622B56 #8D3E7B #B4549E #C77FB6

Accessibility & contrast

On white

6.76
#8D3E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3E7B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3E7B#FFFFFF#000000##FFFFFF
##8D3E7B1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547D
Deuteranopia (green-blind)
#566079
Tritanopia (blue-blind)
#944157
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d3e7b;
/* rgb */ color: rgb(141, 62, 123);
/* oklch */ color: oklch(48.9% 0.132 337.0);
Tailwind
colors: {
  custom: {
    50: '#b077a1',
    500: '#8d3e7b',
    950: '#000000',
  },
}
SCSS
$custom: #8d3e7b;
$custom-light: #b077a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3e7b",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 313.671,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48939,
    "c": 0.13174,
    "h": 337
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#8D3E7B
secondary
#76B183
accent
#CF7459
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090F
muted
#807B7E

Preview Lab

Preview with #8D3E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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