#9D3286#9D3286

#9D3286 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.170 H 337.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9D3286
RGBrgb(157, 50, 134)
HSLhsl(313, 52%, 41%)
HSVhsv(313, 68%, 62%)
CMYKcmyk(0%, 68.2%, 14.6%, 38.4%)
CIE-LABlab(39.87, 53.32, -23.96)
CIE-LCHlch(39.87, 58.45, 335.80°)
OKLaboklab(50.4% 0.157 -0.065)
OKLCHoklch(50.4% 0.17 337.5)
XYZxyz(19.3486, 11.1722, 23.6871)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3286 #329D49
analogous
#7E329D #9D3286 #9D3250
triadic
#9D3286 #869D32 #32869D
tetradic
#9D3286 #9D7E32 #329D49 #32509D
square
#9D3286 #9D7E32 #329D49 #32509D
split-complementary
#9D3286 #509D32 #329D7E
monochromatic
#401437 #6F235E #9D3286 #C548AA #D376BF

Accessibility & contrast

On white

6.49
#9D3286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9D3286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3286
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3286#FFFFFF#000000##FFFFFF
##9D32861.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355388
Deuteranopia (green-blind)
#586483
Tritanopia (blue-blind)
#A53757
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d3286;
/* rgb */ color: rgb(157, 50, 134);
/* oklch */ color: oklch(50.4% 0.170 337.5);
Tailwind
colors: {
  custom: {
    50: '#bd73a9',
    500: '#9d3286',
    950: '#000000',
  },
}
SCSS
$custom: #9d3286;
$custom-light: #bd73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3286",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 312.897,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50397,
    "c": 0.16993,
    "h": 337.5
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#9D3286
secondary
#6FBC80
accent
#DB6B4D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D3286

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

Preview Lab → · Contrast checker → · Palette generator →

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