#9C3F86#9C3F86

#9C3F86 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.7% C 0.150 H 337.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9C3F86
RGBrgb(156, 63, 134)
HSLhsl(314, 42%, 43%)
HSVhsv(314, 60%, 61%)
CMYKcmyk(0%, 59.6%, 14.1%, 38.8%)
CIE-LABlab(41.76, 47.39, -21.04)
CIE-LCHlch(41.76, 51.85, 336.06°)
OKLaboklab(51.75% 0.1391 -0.0568)
OKLCHoklch(51.75% 0.15 337.8)
XYZxyz(19.7912, 12.3458, 23.8902)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3F86 #3F9C55
analogous
#843F9C #9C3F86 #9C3F57
triadic
#9C3F86 #869C3F #3F869C
tetradic
#9C3F86 #9C843F #3F9C55 #3F579C
square
#9C3F86 #9C843F #3F9C55 #3F579C
split-complementary
#9C3F86 #579C3F #3F9C84
monochromatic
#451C3B #702D61 #9C3F86 #BD5BA6 #CE87BE

Accessibility & contrast

On white

6.05
#9C3F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9C3F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3F86
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3F86#FFFFFF#000000##FFFFFF
##9C3F861.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425988
Deuteranopia (green-blind)
#5D6884
Tritanopia (blue-blind)
#A4435D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c3f86;
/* rgb */ color: rgb(156, 63, 134);
/* oklch */ color: oklch(51.7% 0.150 337.8);
Tailwind
colors: {
  custom: {
    50: '#bc79a9',
    500: '#9c3f86',
    950: '#000000',
  },
}
SCSS
$custom: #9c3f86;
$custom-light: #bc79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3f86",
  "rgb": {
    "r": 156,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 314.194,
    "s": 42.466,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.1503,
    "h": 337.8
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#9C3F86
secondary
#7EB98C
accent
#D27356
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C3F86

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

Preview Lab → · Contrast checker → · Palette generator →

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