#9B3284#9B3284

#9B3284 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.167 H 337.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9B3284
RGBrgb(155, 50, 132)
HSLhsl(313, 51%, 40%)
HSVhsv(313, 68%, 61%)
CMYKcmyk(0%, 67.7%, 14.8%, 39.2%)
CIE-LABlab(39.44, 52.48, -23.42)
CIE-LCHlch(39.44, 57.46, 335.95°)
OKLaboklab(49.99% 0.1546 -0.0635)
OKLCHoklch(49.99% 0.167 337.7)
XYZxyz(18.8234, 10.9174, 22.9412)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3284 #329B49
analogous
#7E329B #9B3284 #9B324F
triadic
#9B3284 #849B32 #32849B
tetradic
#9B3284 #9B7E32 #329B49 #324F9B
square
#9B3284 #9B7E32 #329B49 #324F9B
split-complementary
#9B3284 #4F9B32 #329B7E
monochromatic
#3E1435 #6D235D #9B3284 #C447A8 #D275BE

Accessibility & contrast

On white

6.60
#9B3284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9B3284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3284
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3284#FFFFFF#000000##FFFFFF
##9B32841.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355386
Deuteranopia (green-blind)
#576381
Tritanopia (blue-blind)
#A33756
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b3284;
/* rgb */ color: rgb(155, 50, 132);
/* oklch */ color: oklch(50.0% 0.167 337.7);
Tailwind
colors: {
  custom: {
    50: '#bc72a8',
    500: '#9b3284',
    950: '#000000',
  },
}
SCSS
$custom: #9b3284;
$custom-light: #bc72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3284",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 313.143,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4999,
    "c": 0.16713,
    "h": 337.7
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#9B3284
secondary
#6EBB7F
accent
#DB6C4D
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B3284

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

Preview Lab → · Contrast checker → · Palette generator →

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