#9B3282#9B3282

#9B3282 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.166 H 338.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9B3282
RGBrgb(155, 50, 130)
HSLhsl(314, 51%, 40%)
HSVhsv(314, 68%, 61%)
CMYKcmyk(0%, 67.7%, 16.1%, 39.2%)
CIE-LABlab(39.35, 52.17, -22.33)
CIE-LCHlch(39.35, 56.75, 336.83°)
OKLaboklab(49.89% 0.1543 -0.0604)
OKLCHoklch(49.89% 0.166 338.6)
XYZxyz(18.6878, 10.8632, 22.2273)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3282 #329B4B
analogous
#80329B #9B3282 #9B324D
triadic
#9B3282 #829B32 #32829B
tetradic
#9B3282 #9B8032 #329B4B #324D9B
square
#9B3282 #9B8032 #329B4B #324D9B
split-complementary
#9B3282 #4D9B32 #329B80
monochromatic
#3E1434 #6D235B #9B3282 #C447A6 #D275BC

Accessibility & contrast

On white

6.62
#9B3282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9B3282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3282
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3282#FFFFFF#000000##FFFFFF
##9B32821.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#58637F
Tritanopia (blue-blind)
#A43655
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b3282;
/* rgb */ color: rgb(155, 50, 130);
/* oklch */ color: oklch(49.9% 0.166 338.6);
Tailwind
colors: {
  custom: {
    50: '#bc72a6',
    500: '#9b3282',
    950: '#000000',
  },
}
SCSS
$custom: #9b3282;
$custom-light: #bc72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3282",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 314.286,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49893,
    "c": 0.16569,
    "h": 338.6
  },
  "luminance": 0.10861
}

Semantic roles & 50–950 ramp

primary
#9B3282
secondary
#6EBB80
accent
#DB6F4D
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B3282

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

Preview Lab → · Contrast checker → · Palette generator →

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