#9B348D#9B348D

#9B348D is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.171 H 333.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9B348D
RGBrgb(155, 52, 141)
HSLhsl(308, 50%, 41%)
HSVhsv(308, 66%, 61%)
CMYKcmyk(0%, 66.5%, 9%, 39.2%)
CIE-LABlab(40.16, 53.09, -27.81)
CIE-LCHlch(40.16, 59.93, 332.35°)
OKLaboklab(50.65% 0.1534 -0.076)
OKLCHoklch(50.65% 0.171 333.6)
XYZxyz(19.5534, 11.3492, 26.3549)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B348D #349B42
analogous
#75349B #9B348D #9B345A
triadic
#9B348D #8D9B34 #348D9B
tetradic
#9B348D #9B7534 #349B42 #345A9B
square
#9B348D #9B7534 #349B42 #345A9B
split-complementary
#9B348D #5A9B34 #349B75
monochromatic
#3F153A #6D2563 #9B348D #C24AB2 #D278C5

Accessibility & contrast

On white

6.42
#9B348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9B348D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B348D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B348D#FFFFFF#000000##FFFFFF
##9B348D1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325590
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#A23C5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b348d;
/* rgb */ color: rgb(155, 52, 141);
/* oklch */ color: oklch(50.7% 0.171 333.6);
Tailwind
colors: {
  custom: {
    50: '#bc74ae',
    500: '#9b348d',
    950: '#000000',
  },
}
SCSS
$custom: #9b348d;
$custom-light: #bc74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b348d",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 308.155,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.17122,
    "h": 333.6
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#9B348D
secondary
#71BA7B
accent
#D9614F
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B348D

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

Preview Lab → · Contrast checker → · Palette generator →

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