#9D4397#9D4397

#9D4397 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.2% C 0.159 H 330.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9D4397
RGBrgb(157, 67, 151)
HSLhsl(304, 40%, 44%)
HSVhsv(304, 57%, 62%)
CMYKcmyk(0%, 57.3%, 3.8%, 38.4%)
CIE-LABlab(43.39, 48.66, -28.80)
CIE-LCHlch(43.39, 56.55, 329.38°)
OKLaboklab(53.23% 0.1377 -0.0789)
OKLCHoklch(53.23% 0.159 330.2)
XYZxyz(21.4975, 13.4182, 30.7298)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4397 #439D49
analogous
#76439D #9D4397 #9D436A
triadic
#9D4397 #979D43 #43979D
tetradic
#9D4397 #9D7643 #439D49 #436A9D
square
#9D4397 #9D7643 #439D49 #436A9D
split-complementary
#9D4397 #6A9D43 #439D76
monochromatic
#471E44 #72316E #9D4397 #BC61B6 #CE8CCA

Accessibility & contrast

On white

5.70
#9D4397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9D4397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4397
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4397#FFFFFF#000000##FFFFFF
##9D43971.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#A24C67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d4397;
/* rgb */ color: rgb(157, 67, 151);
/* oklch */ color: oklch(53.2% 0.159 330.2);
Tailwind
colors: {
  custom: {
    50: '#bc7cb6',
    500: '#9d4397',
    950: '#000000',
  },
}
SCSS
$custom: #9d4397;
$custom-light: #bc7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4397",
  "rgb": {
    "r": 157,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 304,
    "s": 40.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53229,
    "c": 0.15869,
    "h": 330.2
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#9D4397
secondary
#83B986
accent
#D06058
background
#FBF7FB
surface
#F7EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #9D4397

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

Preview Lab → · Contrast checker → · Palette generator →

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