#9D3C8F#9D3C8F

#9D3C8F is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.0% C 0.163 H 333.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9D3C8F
RGBrgb(157, 60, 143)
HSLhsl(309, 45%, 43%)
HSVhsv(309, 62%, 62%)
CMYKcmyk(0%, 61.8%, 8.9%, 38.4%)
CIE-LABlab(41.82, 50.52, -26.41)
CIE-LCHlch(41.82, 57.01, 332.40°)
OKLaboklab(51.96% 0.1459 -0.072)
OKLCHoklch(51.96% 0.163 333.7)
XYZxyz(20.4785, 12.3845, 27.2931)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3C8F #3C9D4A
analogous
#7B3C9D #9D3C8F #9D3C5E
triadic
#9D3C8F #8F9D3C #3C8F9D
tetradic
#9D3C8F #9D7B3C #3C9D4A #3C5E9D
square
#9D3C8F #9D7B3C #3C9D4A #3C5E9D
split-complementary
#9D3C8F #5E9D3C #3C9D7B
monochromatic
#441A3E #712B67 #9D3C8F #BF57B0 #D084C5

Accessibility & contrast

On white

6.04
#9D3C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9D3C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3C8F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3C8F#FFFFFF#000000##FFFFFF
##9D3C8F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A92
Deuteranopia (green-blind)
#59688C
Tritanopia (blue-blind)
#A44360
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d3c8f;
/* rgb */ color: rgb(157, 60, 143);
/* oklch */ color: oklch(52.0% 0.163 333.7);
Tailwind
colors: {
  custom: {
    50: '#bd78b0',
    500: '#9d3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9d3c8f;
$custom-light: #bd78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3c8f",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 308.66,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51958,
    "c": 0.16268,
    "h": 333.7
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#9D3C8F
secondary
#7BBA84
accent
#D46653
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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