#9B328E#9B328E

#9B328E is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.5% C 0.175 H 333.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9B328E
RGBrgb(155, 50, 142)
HSLhsl(307, 51%, 40%)
HSVhsv(307, 68%, 61%)
CMYKcmyk(0%, 67.7%, 8.4%, 39.2%)
CIE-LABlab(39.92, 54.06, -28.80)
CIE-LCHlch(39.92, 61.25, 331.96°)
OKLaboklab(50.5% 0.1559 -0.0788)
OKLCHoklch(50.5% 0.175 333.2)
XYZxyz(19.5407, 11.2043, 26.7194)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B328E #329B3F
analogous
#74329B #9B328E #9B3259
triadic
#9B328E #8E9B32 #328E9B
tetradic
#9B328E #9B7432 #329B3F #32599B
square
#9B328E #9B7432 #329B3F #32599B
split-complementary
#9B328E #599B32 #329B74
monochromatic
#3E1439 #6D2364 #9B328E #C447B4 #D275C7

Accessibility & contrast

On white

6.48
#9B328E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9B328E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B328E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B328E#FFFFFF#000000##FFFFFF
##9B328E1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5491
Deuteranopia (green-blind)
#53638B
Tritanopia (blue-blind)
#A23B5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b328e;
/* rgb */ color: rgb(155, 50, 142);
/* oklch */ color: oklch(50.5% 0.175 333.2);
Tailwind
colors: {
  custom: {
    50: '#bc73af',
    500: '#9b328e',
    950: '#000000',
  },
}
SCSS
$custom: #9b328e;
$custom-light: #bc73af;
$custom-dark: #000000;
JSON
{
  "hex": "#9b328e",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 307.429,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.17469,
    "h": 333.2
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#9B328E
secondary
#6EBB78
accent
#DB5F4D
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B328E

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

Preview Lab → · Contrast checker → · Palette generator →

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