#9D3C8D#9D3C8D

#9D3C8D is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.9% C 0.161 H 334.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D3C8D
RGBrgb(157, 60, 141)
HSLhsl(310, 45%, 43%)
HSVhsv(310, 62%, 62%)
CMYKcmyk(0%, 61.8%, 10.2%, 38.4%)
CIE-LABlab(41.73, 50.19, -25.34)
CIE-LCHlch(41.73, 56.23, 333.21°)
OKLaboklab(51.86% 0.1456 -0.069)
OKLCHoklch(51.86% 0.161 334.6)
XYZxyz(20.3283, 12.3245, 26.5023)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3C8D #3C9D4C
analogous
#7C3C9D #9D3C8D #9D3C5C
triadic
#9D3C8D #8D9D3C #3C8D9D
tetradic
#9D3C8D #9D7C3C #3C9D4C #3C5C9D
square
#9D3C8D #9D7C3C #3C9D4C #3C5C9D
split-complementary
#9D3C8D #5C9D3C #3C9D7C
monochromatic
#441A3D #712B65 #9D3C8D #BF57AE #D084C3

Accessibility & contrast

On white

6.06
#9D3C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9D3C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3C8D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3C8D#FFFFFF#000000##FFFFFF
##9D3C8D1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#5A688A
Tritanopia (blue-blind)
#A4425F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d3c8d;
/* rgb */ color: rgb(157, 60, 141);
/* oklch */ color: oklch(51.9% 0.161 334.6);
Tailwind
colors: {
  custom: {
    50: '#bd78ae',
    500: '#9d3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9d3c8d;
$custom-light: #bd78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3c8d",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 309.897,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.16108,
    "h": 334.6
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#9D3C8D
secondary
#7BBA85
accent
#D46953
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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