#9F329B#9F329B

#9F329B is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.187 H 329.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9F329B
RGBrgb(159, 50, 155)
HSLhsl(302, 52%, 41%)
HSVhsv(302, 69%, 62%)
CMYKcmyk(0%, 68.6%, 2.5%, 37.6%)
CIE-LABlab(41.25, 57.21, -34.54)
CIE-LCHlch(41.25, 66.83, 328.87°)
OKLaboklab(51.8% 0.1612 -0.0953)
OKLCHoklch(51.8% 0.187 329.4)
XYZxyz(21.3549, 12.0202, 32.1994)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F329B #329F36
analogous
#6C329F #9F329B #9F3264
triadic
#9F329B #9B9F32 #329B9F
tetradic
#9F329B #9F6C32 #329F36 #32649F
square
#9F329B #9F6C32 #329F36 #32649F
split-complementary
#9F329B #649F32 #329F6C
monochromatic
#421540 #70236E #9F329B #C649C1 #D477D1

Accessibility & contrast

On white

6.17
#9F329B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9F329B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F329B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F329B#FFFFFF#000000##FFFFFF
##9F329B1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589E
Deuteranopia (green-blind)
#506698
Tritanopia (blue-blind)
#A54062
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f329b;
/* rgb */ color: rgb(159, 50, 155);
/* oklch */ color: oklch(51.8% 0.187 329.4);
Tailwind
colors: {
  custom: {
    50: '#bf73b9',
    500: '#9f329b',
    950: '#000000',
  },
}
SCSS
$custom: #9f329b;
$custom-light: #bf73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f329b",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 302.202,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51801,
    "c": 0.1873,
    "h": 329.4
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#9F329B
secondary
#70BD73
accent
#DC514C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #9F329B

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

Preview Lab → · Contrast checker → · Palette generator →

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