#9F328D#9F328D

#9F328D is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.176 H 335.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9F328D
RGBrgb(159, 50, 141)
HSLhsl(310, 52%, 41%)
HSVhsv(310, 69%, 62%)
CMYKcmyk(0%, 68.6%, 11.3%, 37.6%)
CIE-LABlab(40.54, 54.92, -27.18)
CIE-LCHlch(40.54, 61.28, 333.67°)
OKLaboklab(51.05% 0.1601 -0.0741)
OKLCHoklch(51.05% 0.176 335.2)
XYZxyz(20.2466, 11.5769, 26.3624)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F328D #329F44
analogous
#7A329F #9F328D #9F3256
triadic
#9F328D #8D9F32 #328D9F
tetradic
#9F328D #9F7A32 #329F44 #32569F
square
#9F328D #9F7A32 #329F44 #32569F
split-complementary
#9F328D #569F32 #329F7A
monochromatic
#42153A #702364 #9F328D #C649B1 #D477C5

Accessibility & contrast

On white

6.33
#9F328D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9F328D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F328D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F328D#FFFFFF#000000##FFFFFF
##9F328D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325590
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#A73A5B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f328d;
/* rgb */ color: rgb(159, 50, 141);
/* oklch */ color: oklch(51.1% 0.176 335.2);
Tailwind
colors: {
  custom: {
    50: '#bf73ae',
    500: '#9f328d',
    950: '#000000',
  },
}
SCSS
$custom: #9f328d;
$custom-light: #bf73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f328d",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 309.908,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.17639,
    "h": 335.2
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#9F328D
secondary
#70BD7D
accent
#DC644C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #9F328D

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

Preview Lab → · Contrast checker → · Palette generator →

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