#9D4EAE#9D4EAE

#9D4EAE is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.9% C 0.163 H 320.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9D4EAE
RGBrgb(157, 78, 174)
HSLhsl(289, 38%, 49%)
HSVhsv(289, 55%, 68%)
CMYKcmyk(9.8%, 55.2%, 0%, 31.8%)
CIE-LABlab(46.54, 47.62, -37.50)
CIE-LCHlch(46.54, 60.61, 321.78°)
OKLaboklab(55.92% 0.1253 -0.1041)
OKLCHoklch(55.92% 0.163 320.3)
XYZxyz(24.2681, 15.6739, 41.7832)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EAE #5FAE4E
analogous
#6D4EAE #9D4EAE #AE4E8F
triadic
#9D4EAE #AE9D4E #4EAE9D
tetradic
#9D4EAE #AE6D4E #5FAE4E #4E8FAE
square
#9D4EAE #AE6D4E #5FAE4E #4E8FAE
split-complementary
#9D4EAE #8FAE4E #4EAE6D
monochromatic
#512859 #773B84 #9D4EAE #B577C2 #CCA1D5

Accessibility & contrast

On white

5.08
#9D4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9D4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4EAE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EAE#FFFFFF#000000##FFFFFF
##9D4EAE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B1
Deuteranopia (green-blind)
#5671AB
Tritanopia (blue-blind)
#9E5C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d4eae;
/* rgb */ color: rgb(157, 78, 174);
/* oklch */ color: oklch(55.9% 0.163 320.3);
Tailwind
colors: {
  custom: {
    50: '#bc83c6',
    500: '#9d4eae',
    950: '#000000',
  },
}
SCSS
$custom: #9d4eae;
$custom-light: #bc83c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4eae",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 289.375,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.16292,
    "h": 320.3
  },
  "luminance": 0.15673
}

Semantic roles & 50–950 ramp

primary
#9D4EAE
secondary
#9EC296
accent
#CE5A6E
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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