#9F349B#9F349B

#9F349B is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.0% C 0.185 H 329.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9F349B
RGBrgb(159, 52, 155)
HSLhsl(302, 51%, 41%)
HSVhsv(302, 67%, 62%)
CMYKcmyk(0%, 67.3%, 2.5%, 37.6%)
CIE-LABlab(41.52, 56.43, -34.11)
CIE-LCHlch(41.52, 65.94, 328.85°)
OKLaboklab(52% 0.159 -0.0941)
OKLCHoklch(52% 0.185 329.4)
XYZxyz(21.4423, 12.1950, 32.2285)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F349B #349F38
analogous
#6E349F #9F349B #9F3466
triadic
#9F349B #9B9F34 #349B9F
tetradic
#9F349B #9F6E34 #349F38 #34669F
square
#9F349B #9F6E34 #349F38 #34669F
split-complementary
#9F349B #669F34 #349F6E
monochromatic
#431641 #71256E #9F349B #C44CC0 #D37AD0

Accessibility & contrast

On white

6.11
#9F349B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9F349B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F349B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F349B#FFFFFF#000000##FFFFFF
##9F349B1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#A54163
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f349b;
/* rgb */ color: rgb(159, 52, 155);
/* oklch */ color: oklch(52.0% 0.185 329.4);
Tailwind
colors: {
  custom: {
    50: '#bf74b9',
    500: '#9f349b',
    950: '#000000',
  },
}
SCSS
$custom: #9f349b;
$custom-light: #bf74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f349b",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 302.243,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52,
    "c": 0.18476,
    "h": 329.4
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#9F349B
secondary
#73BC75
accent
#DA534E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #9F349B

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

Preview Lab → · Contrast checker → · Palette generator →

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