#9B3184#9B3184

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

Color values

HEX#9B3184
RGBrgb(155, 49, 132)
HSLhsl(313, 52%, 40%)
HSVhsv(313, 68%, 61%)
CMYKcmyk(0%, 68.4%, 14.8%, 39.2%)
CIE-LABlab(39.30, 52.88, -23.64)
CIE-LCHlch(39.30, 57.92, 335.91°)
OKLaboklab(49.89% 0.1558 -0.0641)
OKLCHoklch(49.89% 0.168 337.6)
XYZxyz(18.7811, 10.8328, 22.9271)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3184 #319B48
analogous
#7D319B #9B3184 #9B314F
triadic
#9B3184 #849B31 #31849B
tetradic
#9B3184 #9B7D31 #319B48 #314F9B
square
#9B3184 #9B7D31 #319B48 #314F9B
split-complementary
#9B3184 #4F9B31 #319B7D
monochromatic
#3E1435 #6D225C #9B3184 #C445A9 #D373BE

Accessibility & contrast

On white

6.63
#9B3184 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B3184
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3184#FFFFFF#000000##FFFFFF
##9B31841.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355286
Deuteranopia (green-blind)
#576281
Tritanopia (blue-blind)
#A33656
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b3184;
/* rgb */ color: rgb(155, 49, 132);
/* oklch */ color: oklch(49.9% 0.168 337.6);
Tailwind
colors: {
  custom: {
    50: '#bc72a8',
    500: '#9b3184',
    950: '#000000',
  },
}
SCSS
$custom: #9b3184;
$custom-light: #bc72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3184",
  "rgb": {
    "r": 155,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 313.019,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.16847,
    "h": 337.6
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#9B3184
secondary
#6DBB7E
accent
#DB6B4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B3184

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

Preview Lab → · Contrast checker → · Palette generator →

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