#9D4E93#9D4E93

#9D4E93 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.5% C 0.137 H 332.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9D4E93
RGBrgb(157, 78, 147)
HSLhsl(308, 34%, 46%)
HSVhsv(308, 50%, 62%)
CMYKcmyk(0%, 50.3%, 6.4%, 38.4%)
CIE-LABlab(45.25, 42.48, -23.49)
CIE-LCHlch(45.25, 48.54, 331.06°)
OKLaboklab(54.55% 0.1213 -0.0639)
OKLCHoklch(54.55% 0.137 332.2)
XYZxyz(21.8954, 14.7248, 29.2870)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4E93 #4E9D58
analogous
#7F4E9D #9D4E93 #9D4E6B
triadic
#9D4E93 #939D4E #4E939D
tetradic
#9D4E93 #9D7F4E #4E9D58 #4E6B9D
square
#9D4E93 #9D7F4E #4E9D58 #4E6B9D
split-complementary
#9D4E93 #6B9D4E #4E9D7F
monochromatic
#4B2546 #743A6D #9D4E93 #B870AF #CC99C6

Accessibility & contrast

On white

5.32
#9D4E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9D4E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4E93
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4E93#FFFFFF#000000##FFFFFF
##9D4E931.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6495
Deuteranopia (green-blind)
#626F91
Tritanopia (blue-blind)
#A3536A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d4e93;
/* rgb */ color: rgb(157, 78, 147);
/* oklch */ color: oklch(54.5% 0.137 332.2);
Tailwind
colors: {
  custom: {
    50: '#bc83b3',
    500: '#9d4e93',
    950: '#000000',
  },
}
SCSS
$custom: #9d4e93;
$custom-light: #bc83b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4e93",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 307.595,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.13706,
    "h": 332.2
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#9D4E93
secondary
#8EB993
accent
#CA6C5E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9D4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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