#8D327E#8D327E

#8D327E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.5% C 0.153 H 334.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8D327E
RGBrgb(141, 50, 126)
HSLhsl(310, 48%, 37%)
HSVhsv(310, 65%, 55%)
CMYKcmyk(0%, 64.5%, 10.6%, 44.7%)
CIE-LABlab(36.84, 47.69, -23.94)
CIE-LCHlch(36.84, 53.36, 333.35°)
OKLaboklab(47.55% 0.1385 -0.0652)
OKLCHoklch(47.55% 0.153 334.8)
XYZxyz(15.8911, 9.4516, 20.7220)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D327E #328D41
analogous
#6E328D #8D327E #8D3251
triadic
#8D327E #7E8D32 #327E8D
tetradic
#8D327E #8D6E32 #328D41 #32518D
square
#8D327E #8D6E32 #328D41 #32518D
split-complementary
#8D327E #518D32 #328D6E
monochromatic
#33122D #602256 #8D327E #BA42A6 #CC6EBC

Accessibility & contrast

On white

7.27
#8D327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8D327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D327E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D327E#FFFFFF#000000##FFFFFF
##8D327E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#943853
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d327e;
/* rgb */ color: rgb(141, 50, 126);
/* oklch */ color: oklch(47.5% 0.153 334.8);
Tailwind
colors: {
  custom: {
    50: '#b170a3',
    500: '#8d327e',
    950: '#000000',
  },
}
SCSS
$custom: #8d327e;
$custom-light: #b170a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d327e",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 309.89,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.1531,
    "h": 334.8
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

primary
#8D327E
secondary
#68B374
accent
#D76751
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D327E

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

Preview Lab → · Contrast checker → · Palette generator →

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