#9F328E#9F328E

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

Color values

HEX#9F328E
RGBrgb(159, 50, 142)
HSLhsl(309, 52%, 41%)
HSVhsv(309, 69%, 62%)
CMYKcmyk(0%, 68.6%, 10.7%, 37.6%)
CIE-LABlab(40.58, 55.08, -27.71)
CIE-LCHlch(40.58, 61.66, 333.29°)
OKLaboklab(51.11% 0.1602 -0.0756)
OKLCHoklch(51.11% 0.177 334.7)
XYZxyz(20.3214, 11.6068, 26.7560)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F328E #329F43
analogous
#79329F #9F328E #9F3257
triadic
#9F328E #8E9F32 #328E9F
tetradic
#9F328E #9F7932 #329F43 #32579F
square
#9F328E #9F7932 #329F43 #32579F
split-complementary
#9F328E #579F32 #329F79
monochromatic
#42153B #702364 #9F328E #C649B2 #D477C6

Accessibility & contrast

On white

6.32
#9F328E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F328E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F328E#FFFFFF#000000##FFFFFF
##9F328E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#A73A5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f328e;
/* rgb */ color: rgb(159, 50, 142);
/* oklch */ color: oklch(51.1% 0.177 334.7);
Tailwind
colors: {
  custom: {
    50: '#bf73af',
    500: '#9f328e',
    950: '#000000',
  },
}
SCSS
$custom: #9f328e;
$custom-light: #bf73af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f328e",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 309.358,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51105,
    "c": 0.17714,
    "h": 334.7
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#9F328E
secondary
#70BD7C
accent
#DC634C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #9F328E

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

Preview Lab → · Contrast checker → · Palette generator →

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