#9B348F#9B348F

#9B348F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.173 H 332.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9B348F
RGBrgb(155, 52, 143)
HSLhsl(307, 50%, 41%)
HSVhsv(307, 66%, 61%)
CMYKcmyk(0%, 66.5%, 7.7%, 39.2%)
CIE-LABlab(40.26, 53.41, -28.87)
CIE-LCHlch(40.26, 60.72, 331.61°)
OKLaboklab(50.76% 0.1536 -0.0791)
OKLCHoklch(50.76% 0.173 332.8)
XYZxyz(19.7035, 11.4093, 27.1457)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B348F #349B40
analogous
#73349B #9B348F #9B345C
triadic
#9B348F #8F9B34 #348F9B
tetradic
#9B348F #9B7334 #349B40 #345C9B
square
#9B348F #9B7334 #349B40 #345C9B
split-complementary
#9B348F #5C9B34 #349B73
monochromatic
#3F153A #6D2565 #9B348F #C24AB4 #D278C7

Accessibility & contrast

On white

6.40
#9B348F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9B348F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B348F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B348F#FFFFFF#000000##FFFFFF
##9B348F1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#A23D5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b348f;
/* rgb */ color: rgb(155, 52, 143);
/* oklch */ color: oklch(50.8% 0.173 332.8);
Tailwind
colors: {
  custom: {
    50: '#bc74b0',
    500: '#9b348f',
    950: '#000000',
  },
}
SCSS
$custom: #9b348f;
$custom-light: #bc74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b348f",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 306.99,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.17279,
    "h": 332.8
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#9B348F
secondary
#71BA79
accent
#D95F4F
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B348F

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

Preview Lab → · Contrast checker → · Palette generator →

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