#9B337C#9B337C

#9B337C is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.160 H 341.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9B337C
RGBrgb(155, 51, 124)
HSLhsl(318, 50%, 40%)
HSVhsv(318, 67%, 61%)
CMYKcmyk(0%, 67.1%, 20%, 39.2%)
CIE-LABlab(39.23, 50.87, -18.81)
CIE-LCHlch(39.23, 54.23, 339.71°)
OKLaboklab(49.72% 0.152 -0.0505)
OKLCHoklch(49.72% 0.16 341.6)
XYZxyz(18.3400, 10.7932, 20.1823)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B337C #339B52
analogous
#86339B #9B337C #9B3348
triadic
#9B337C #7C9B33 #337C9B
tetradic
#9B337C #9B8633 #339B52 #33489B
square
#9B337C #9B8633 #339B52 #33489B
split-complementary
#9B337C #489B33 #339B86
monochromatic
#3F1532 #6D2457 #9B337C #C3489E #D276B7

Accessibility & contrast

On white

6.65
#9B337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B337C
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B337C#FFFFFF#000000##FFFFFF
##9B337C1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527E
Deuteranopia (green-blind)
#5A6379
Tritanopia (blue-blind)
#A43453
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b337c;
/* rgb */ color: rgb(155, 51, 124);
/* oklch */ color: oklch(49.7% 0.160 341.6);
Tailwind
colors: {
  custom: {
    50: '#bc72a2',
    500: '#9b337c',
    950: '#000000',
  },
}
SCSS
$custom: #9b337c;
$custom-light: #bc72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b337c",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 317.885,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.16012,
    "h": 341.6
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#9B337C
secondary
#6FBA86
accent
#DA784E
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9B337C

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

Preview Lab → · Contrast checker → · Palette generator →

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