#9D328D#9D328D

#9D328D is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.175 H 334.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9D328D
RGBrgb(157, 50, 141)
HSLhsl(309, 52%, 41%)
HSVhsv(309, 68%, 62%)
CMYKcmyk(0%, 68.2%, 10.2%, 38.4%)
CIE-LABlab(40.20, 54.41, -27.72)
CIE-LCHlch(40.20, 61.06, 333.00°)
OKLaboklab(50.75% 0.1579 -0.0757)
OKLCHoklch(50.75% 0.175 334.4)
XYZxyz(19.8531, 11.3740, 26.3439)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D328D #329D42
analogous
#77329D #9D328D #9D3257
triadic
#9D328D #8D9D32 #328D9D
tetradic
#9D328D #9D7732 #329D42 #32579D
square
#9D328D #9D7732 #329D42 #32579D
split-complementary
#9D328D #579D32 #329D77
monochromatic
#40143A #6F2363 #9D328D #C548B2 #D376C5

Accessibility & contrast

On white

6.41
#9D328D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9D328D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D328D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D328D#FFFFFF#000000##FFFFFF
##9D328D1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#A43A5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d328d;
/* rgb */ color: rgb(157, 50, 141);
/* oklch */ color: oklch(50.7% 0.175 334.4);
Tailwind
colors: {
  custom: {
    50: '#bd73ae',
    500: '#9d328d',
    950: '#000000',
  },
}
SCSS
$custom: #9d328d;
$custom-light: #bd73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d328d",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 308.972,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50748,
    "c": 0.17515,
    "h": 334.4
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#9D328D
secondary
#6FBC7B
accent
#DB624D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D328D

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

Preview Lab → · Contrast checker → · Palette generator →

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