#9B3183#9B3183

#9B3183 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.168 H 338.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9B3183
RGBrgb(155, 49, 131)
HSLhsl(314, 52%, 40%)
HSVhsv(314, 68%, 61%)
CMYKcmyk(0%, 68.4%, 15.5%, 39.2%)
CIE-LABlab(39.25, 52.72, -23.10)
CIE-LCHlch(39.25, 57.56, 336.34°)
OKLaboklab(49.84% 0.1557 -0.0626)
OKLCHoklch(49.84% 0.168 338.1)
XYZxyz(18.7130, 10.8056, 22.5685)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3183 #319B49
analogous
#7E319B #9B3183 #9B314E
triadic
#9B3183 #839B31 #31839B
tetradic
#9B3183 #9B7E31 #319B49 #314E9B
square
#9B3183 #9B7E31 #319B49 #314E9B
split-complementary
#9B3183 #4E9B31 #319B7E
monochromatic
#3E1434 #6D225C #9B3183 #C445A7 #D373BD

Accessibility & contrast

On white

6.64
#9B3183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9B3183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3183
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3183#FFFFFF#000000##FFFFFF
##9B31831.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#576280
Tritanopia (blue-blind)
#A33655
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b3183;
/* rgb */ color: rgb(155, 49, 131);
/* oklch */ color: oklch(49.8% 0.168 338.1);
Tailwind
colors: {
  custom: {
    50: '#bc72a7',
    500: '#9b3183',
    950: '#000000',
  },
}
SCSS
$custom: #9b3183;
$custom-light: #bc72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3183",
  "rgb": {
    "r": 155,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 313.585,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.16775,
    "h": 338.1
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#9B3183
secondary
#6DBB7F
accent
#DB6D4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B3183

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

Preview Lab → · Contrast checker → · Palette generator →

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