#9B348B#9B348B

#9B348B is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.6% C 0.170 H 334.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9B348B
RGBrgb(155, 52, 139)
HSLhsl(309, 50%, 41%)
HSVhsv(309, 66%, 61%)
CMYKcmyk(0%, 66.5%, 10.3%, 39.2%)
CIE-LABlab(40.06, 52.76, -26.74)
CIE-LCHlch(40.06, 59.15, 333.12°)
OKLaboklab(50.55% 0.1532 -0.073)
OKLCHoklch(50.55% 0.17 334.5)
XYZxyz(19.4059, 11.2902, 25.5782)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B348B #349B44
analogous
#77349B #9B348B #9B3458
triadic
#9B348B #8B9B34 #348B9B
tetradic
#9B348B #9B7734 #349B44 #34589B
square
#9B348B #9B7734 #349B44 #34589B
split-complementary
#9B348B #589B34 #349B77
monochromatic
#3F1539 #6D2562 #9B348B #C24AB0 #D278C4

Accessibility & contrast

On white

6.45
#9B348B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9B348B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B348B
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B348B#FFFFFF#000000##FFFFFF
##9B348B1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#A23B5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b348b;
/* rgb */ color: rgb(155, 52, 139);
/* oklch */ color: oklch(50.6% 0.170 334.5);
Tailwind
colors: {
  custom: {
    50: '#bc73ad',
    500: '#9b348b',
    950: '#000000',
  },
}
SCSS
$custom: #9b348b;
$custom-light: #bc73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b348b",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 309.32,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.16967,
    "h": 334.5
  },
  "luminance": 0.11289
}

Semantic roles & 50–950 ramp

primary
#9B348B
secondary
#71BA7C
accent
#D9644F
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B348B

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

Preview Lab → · Contrast checker → · Palette generator →

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