#9D3C8E#9D3C8E

#9D3C8E is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.9% C 0.162 H 334.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9D3C8E
RGBrgb(157, 60, 142)
HSLhsl(309, 45%, 43%)
HSVhsv(309, 62%, 62%)
CMYKcmyk(0%, 61.8%, 9.6%, 38.4%)
CIE-LABlab(41.77, 50.35, -25.88)
CIE-LCHlch(41.77, 56.62, 332.80°)
OKLaboklab(51.91% 0.1457 -0.0705)
OKLCHoklch(51.91% 0.162 334.2)
XYZxyz(20.4031, 12.3544, 26.8960)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3C8E #3C9D4B
analogous
#7B3C9D #9D3C8E #9D3C5E
triadic
#9D3C8E #8E9D3C #3C8E9D
tetradic
#9D3C8E #9D7B3C #3C9D4B #3C5E9D
square
#9D3C8E #9D7B3C #3C9D4B #3C5E9D
split-complementary
#9D3C8E #5E9D3C #3C9D7B
monochromatic
#441A3E #712B66 #9D3C8E #BF57AF #D084C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D3C8E#FFFFFF#000000##FFFFFF
##9D3C8E1.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)
#3B5991
Deuteranopia (green-blind)
#5A688B
Tritanopia (blue-blind)
#A4435F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d3c8e;
/* rgb */ color: rgb(157, 60, 142);
/* oklch */ color: oklch(51.9% 0.162 334.2);
Tailwind
colors: {
  custom: {
    50: '#bd78af',
    500: '#9d3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9d3c8e;
$custom-light: #bd78af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3c8e",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 309.278,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51908,
    "c": 0.16188,
    "h": 334.2
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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