#9D4E91#9D4E91

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

Color values

HEX#9D4E91
RGBrgb(157, 78, 145)
HSLhsl(309, 34%, 46%)
HSVhsv(309, 50%, 62%)
CMYKcmyk(0%, 50.3%, 7.6%, 38.4%)
CIE-LABlab(45.17, 42.12, -22.42)
CIE-LCHlch(45.17, 47.72, 331.97°)
OKLaboklab(54.46% 0.1208 -0.0609)
OKLCHoklch(54.46% 0.135 333.3)
XYZxyz(21.7398, 14.6626, 28.4677)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4E91 #4E9D5A
analogous
#814E9D #9D4E91 #9D4E69
triadic
#9D4E91 #919D4E #4E919D
tetradic
#9D4E91 #9D814E #4E9D5A #4E699D
square
#9D4E91 #9D814E #4E9D5A #4E699D
split-complementary
#9D4E91 #699D4E #4E9D81
monochromatic
#4B2545 #743A6B #9D4E91 #B870AD #CC99C5

Accessibility & contrast

On white

5.34
#9D4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9D4E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4E91
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4E91#FFFFFF#000000##FFFFFF
##9D4E911.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#636F8F
Tritanopia (blue-blind)
#A35369
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d4e91;
/* rgb */ color: rgb(157, 78, 145);
/* oklch */ color: oklch(54.5% 0.135 333.3);
Tailwind
colors: {
  custom: {
    50: '#bc83b1',
    500: '#9d4e91',
    950: '#000000',
  },
}
SCSS
$custom: #9d4e91;
$custom-light: #bc83b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4e91",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 309.114,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54455,
    "c": 0.13531,
    "h": 333.3
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#9D4E91
secondary
#8EB994
accent
#CA6E5E
background
#FBF8FA
surface
#F7EFF5
border
#D0CACF
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9D4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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