#9D4EAC#9D4EAC

#9D4EAC is a mid, vivid purple. Relative luminance 0.156; OKLCH L 55.8% C 0.161 H 321.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9D4EAC
RGBrgb(157, 78, 172)
HSLhsl(290, 38%, 49%)
HSVhsv(290, 55%, 67%)
CMYKcmyk(8.7%, 54.7%, 0%, 32.5%)
CIE-LABlab(46.44, 47.22, -36.49)
CIE-LCHlch(46.44, 59.67, 322.30°)
OKLaboklab(55.81% 0.1251 -0.1012)
OKLCHoklch(55.81% 0.161 321)
XYZxyz(24.0746, 15.5965, 40.7640)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EAC #5DAC4E
analogous
#6E4EAC #9D4EAC #AC4E8C
triadic
#9D4EAC #AC9D4E #4EAC9D
tetradic
#9D4EAC #AC6E4E #5DAC4E #4E8CAC
square
#9D4EAC #AC6E4E #5DAC4E #4E8CAC
split-complementary
#9D4EAC #8CAC4E #4EAC6E
monochromatic
#502858 #773B82 #9D4EAC #B576C1 #CCA0D4

Accessibility & contrast

On white

5.10
#9D4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9D4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4EAC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EAC#FFFFFF#000000##FFFFFF
##9D4EAC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#9E5B76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d4eac;
/* rgb */ color: rgb(157, 78, 172);
/* oklch */ color: oklch(55.8% 0.161 321.0);
Tailwind
colors: {
  custom: {
    50: '#bc83c5',
    500: '#9d4eac',
    950: '#000000',
  },
}
SCSS
$custom: #9d4eac;
$custom-light: #bc83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4eac",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 290.426,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.16091,
    "h": 321
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#9D4EAC
secondary
#9CC195
accent
#CE5A6D
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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