#9D328F#9D328F

#9D328F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.177 H 333.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9D328F
RGBrgb(157, 50, 143)
HSLhsl(308, 52%, 41%)
HSVhsv(308, 68%, 62%)
CMYKcmyk(0%, 68.2%, 8.9%, 38.4%)
CIE-LABlab(40.30, 54.73, -28.79)
CIE-LCHlch(40.30, 61.84, 332.26°)
OKLaboklab(50.85% 0.1582 -0.0788)
OKLCHoklch(50.85% 0.177 333.5)
XYZxyz(20.0033, 11.4341, 27.1347)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D328F #329D40
analogous
#75329D #9D328F #9D325A
triadic
#9D328F #8F9D32 #328F9D
tetradic
#9D328F #9D7532 #329D40 #325A9D
square
#9D328F #9D7532 #329D40 #325A9D
split-complementary
#9D328F #5A9D32 #329D75
monochromatic
#40143A #6F2365 #9D328F #C548B4 #D376C7

Accessibility & contrast

On white

6.39
#9D328F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9D328F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D328F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D328F#FFFFFF#000000##FFFFFF
##9D328F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#54658C
Tritanopia (blue-blind)
#A43B5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d328f;
/* rgb */ color: rgb(157, 50, 143);
/* oklch */ color: oklch(50.9% 0.177 333.5);
Tailwind
colors: {
  custom: {
    50: '#bd73b0',
    500: '#9d328f',
    950: '#000000',
  },
}
SCSS
$custom: #9d328f;
$custom-light: #bd73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d328f",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 307.85,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.17668,
    "h": 333.5
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#9D328F
secondary
#6FBC79
accent
#DB5F4D
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D328F

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

Preview Lab → · Contrast checker → · Palette generator →

#9D328F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva