#9B348E#9B348E

#9B348E is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.172 H 333.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9B348E
RGBrgb(155, 52, 142)
HSLhsl(308, 50%, 41%)
HSVhsv(308, 66%, 61%)
CMYKcmyk(0%, 66.5%, 8.4%, 39.2%)
CIE-LABlab(40.21, 53.25, -28.34)
CIE-LCHlch(40.21, 60.32, 331.97°)
OKLaboklab(50.71% 0.1535 -0.0775)
OKLCHoklch(50.71% 0.172 333.2)
XYZxyz(19.6281, 11.3791, 26.7485)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B348E #349B41
analogous
#74349B #9B348E #9B345A
triadic
#9B348E #8E9B34 #348E9B
tetradic
#9B348E #9B7434 #349B41 #345A9B
square
#9B348E #9B7434 #349B41 #345A9B
split-complementary
#9B348E #5A9B34 #349B74
monochromatic
#3F153A #6D2564 #9B348E #C24AB3 #D278C6

Accessibility & contrast

On white

6.41
#9B348E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B348E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B348E#FFFFFF#000000##FFFFFF
##9B348E1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#A23D5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b348e;
/* rgb */ color: rgb(155, 52, 142);
/* oklch */ color: oklch(50.7% 0.172 333.2);
Tailwind
colors: {
  custom: {
    50: '#bc74af',
    500: '#9b348e',
    950: '#000000',
  },
}
SCSS
$custom: #9b348e;
$custom-light: #bc74af;
$custom-dark: #000000;
JSON
{
  "hex": "#9b348e",
  "rgb": {
    "r": 155,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 307.573,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50707,
    "c": 0.17201,
    "h": 333.2
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

primary
#9B348E
secondary
#71BA7A
accent
#D9604F
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B348E

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

Preview Lab → · Contrast checker → · Palette generator →

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