#8D327B#8D327B

#8D327B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.4% C 0.151 H 336.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8D327B
RGBrgb(141, 50, 123)
HSLhsl(312, 48%, 37%)
HSVhsv(312, 65%, 55%)
CMYKcmyk(0%, 64.5%, 12.8%, 44.7%)
CIE-LABlab(36.70, 47.20, -22.30)
CIE-LCHlch(36.70, 52.20, 334.72°)
OKLaboklab(47.4% 0.1381 -0.0605)
OKLCHoklch(47.4% 0.151 336.3)
XYZxyz(15.7004, 9.3753, 19.7178)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D327B #328D44
analogous
#71328D #8D327B #8D324E
triadic
#8D327B #7B8D32 #327B8D
tetradic
#8D327B #8D7132 #328D44 #324E8D
square
#8D327B #8D7132 #328D44 #324E8D
split-complementary
#8D327B #4E8D32 #328D71
monochromatic
#33122C #602254 #8D327B #BA42A2 #CC6EB9

Accessibility & contrast

On white

7.30
#8D327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D327B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D327B#FFFFFF#000000##FFFFFF
##8D327B1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7D
Deuteranopia (green-blind)
#505B79
Tritanopia (blue-blind)
#943752
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d327b;
/* rgb */ color: rgb(141, 50, 123);
/* oklch */ color: oklch(47.4% 0.151 336.3);
Tailwind
colors: {
  custom: {
    50: '#b170a1',
    500: '#8d327b',
    950: '#000000',
  },
}
SCSS
$custom: #8d327b;
$custom-light: #b170a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d327b",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 311.868,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47398,
    "c": 0.15075,
    "h": 336.3
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#8D327B
secondary
#68B377
accent
#D76B51
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8D327B

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

Preview Lab → · Contrast checker → · Palette generator →

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