#9D328E#9D328E

#9D328E is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.176 H 334.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9D328E
RGBrgb(157, 50, 142)
HSLhsl(308, 52%, 41%)
HSVhsv(308, 68%, 62%)
CMYKcmyk(0%, 68.2%, 9.6%, 38.4%)
CIE-LABlab(40.25, 54.57, -28.25)
CIE-LCHlch(40.25, 61.45, 332.63°)
OKLaboklab(50.8% 0.1581 -0.0772)
OKLCHoklch(50.8% 0.176 334)
XYZxyz(19.9278, 11.4039, 26.7376)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D328E #329D41
analogous
#76329D #9D328E #9D3258
triadic
#9D328E #8E9D32 #328E9D
tetradic
#9D328E #9D7632 #329D41 #32589D
square
#9D328E #9D7632 #329D41 #32589D
split-complementary
#9D328E #589D32 #329D76
monochromatic
#40143A #6F2364 #9D328E #C548B3 #D376C6

Accessibility & contrast

On white

6.40
#9D328E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9D328E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D328E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D328E#FFFFFF#000000##FFFFFF
##9D328E1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#A43B5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d328e;
/* rgb */ color: rgb(157, 50, 142);
/* oklch */ color: oklch(50.8% 0.176 334.0);
Tailwind
colors: {
  custom: {
    50: '#bd73af',
    500: '#9d328e',
    950: '#000000',
  },
}
SCSS
$custom: #9d328e;
$custom-light: #bd73af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d328e",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 308.411,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.508,
    "c": 0.17591,
    "h": 334
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#9D328E
secondary
#6FBC7A
accent
#DB614D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D328E

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

Preview Lab → · Contrast checker → · Palette generator →

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