#9D3C91#9D3C91

#9D3C91 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.1% C 0.164 H 332.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9D3C91
RGBrgb(157, 60, 145)
HSLhsl(307, 45%, 43%)
HSVhsv(307, 62%, 62%)
CMYKcmyk(0%, 61.8%, 7.6%, 38.4%)
CIE-LABlab(41.92, 50.85, -27.48)
CIE-LCHlch(41.92, 57.80, 331.62°)
OKLaboklab(52.06% 0.1461 -0.0751)
OKLCHoklch(52.06% 0.164 332.8)
XYZxyz(20.6313, 12.4457, 28.0982)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3C91 #3C9D48
analogous
#793C9D #9D3C91 #9D3C60
triadic
#9D3C91 #919D3C #3C919D
tetradic
#9D3C91 #9D793C #3C9D48 #3C609D
square
#9D3C91 #9D793C #3C9D48 #3C609D
split-complementary
#9D3C91 #609D3C #3C9D79
monochromatic
#441A3F #712B68 #9D3C91 #BF57B2 #D084C6

Accessibility & contrast

On white

6.02
#9D3C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9D3C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3C91
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3C91#FFFFFF#000000##FFFFFF
##9D3C911.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A94
Deuteranopia (green-blind)
#58688E
Tritanopia (blue-blind)
#A44461
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d3c91;
/* rgb */ color: rgb(157, 60, 145);
/* oklch */ color: oklch(52.1% 0.164 332.8);
Tailwind
colors: {
  custom: {
    50: '#bd78b1',
    500: '#9d3c91',
    950: '#000000',
  },
}
SCSS
$custom: #9d3c91;
$custom-light: #bd78b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3c91",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 307.423,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.1643,
    "h": 332.8
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#9D3C91
secondary
#7BBA83
accent
#D46353
background
#FBF7FA
surface
#F7EEF5
border
#D0C9CF
text
#120911
muted
#817B80

Preview Lab

Preview with #9D3C91

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

Preview Lab → · Contrast checker → · Palette generator →

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