#9D4E95#9D4E95

#9D4E95 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.6% C 0.139 H 331.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9D4E95
RGBrgb(157, 78, 149)
HSLhsl(306, 34%, 46%)
HSVhsv(306, 50%, 62%)
CMYKcmyk(0%, 50.3%, 5.1%, 38.4%)
CIE-LABlab(45.34, 42.84, -24.55)
CIE-LCHlch(45.34, 49.37, 330.18°)
OKLaboklab(54.64% 0.1217 -0.0669)
OKLCHoklch(54.64% 0.139 331.2)
XYZxyz(22.0537, 14.7881, 30.1207)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4E95 #4E9D56
analogous
#7D4E9D #9D4E95 #9D4E6D
triadic
#9D4E95 #959D4E #4E959D
tetradic
#9D4E95 #9D7D4E #4E9D56 #4E6D9D
square
#9D4E95 #9D7D4E #4E9D56 #4E6D9D
split-complementary
#9D4E95 #6D9D4E #4E9D7D
monochromatic
#4B2547 #743A6E #9D4E95 #B870B1 #CC99C7

Accessibility & contrast

On white

5.31
#9D4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9D4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4E95
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4E95#FFFFFF#000000##FFFFFF
##9D4E951.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6497
Deuteranopia (green-blind)
#626F93
Tritanopia (blue-blind)
#A2546B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d4e95;
/* rgb */ color: rgb(157, 78, 149);
/* oklch */ color: oklch(54.6% 0.139 331.2);
Tailwind
colors: {
  custom: {
    50: '#bc83b4',
    500: '#9d4e95',
    950: '#000000',
  },
}
SCSS
$custom: #9d4e95;
$custom-light: #bc83b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4e95",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 306.076,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.13885,
    "h": 331.2
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#9D4E95
secondary
#8EB992
accent
#CA695E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9D4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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