#9D4EAA#9D4EAA

#9D4EAA is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.7% C 0.159 H 321.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9D4EAA
RGBrgb(157, 78, 170)
HSLhsl(292, 37%, 49%)
HSVhsv(292, 54%, 67%)
CMYKcmyk(7.6%, 54.1%, 0%, 33.3%)
CIE-LABlab(46.34, 46.82, -35.47)
CIE-LCHlch(46.34, 58.74, 322.85°)
OKLaboklab(55.7% 0.1249 -0.0983)
OKLCHoklch(55.7% 0.159 321.8)
XYZxyz(23.8839, 15.5202, 39.7601)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EAA #5BAA4E
analogous
#6F4EAA #9D4EAA #AA4E89
triadic
#9D4EAA #AA9D4E #4EAA9D
tetradic
#9D4EAA #AA6F4E #5BAA4E #4E89AA
square
#9D4EAA #AA6F4E #5BAA4E #4E89AA
split-complementary
#9D4EAA #89AA4E #4EAA6F
monochromatic
#502856 #763B80 #9D4EAA #B575C0 #CC9FD3

Accessibility & contrast

On white

5.12
#9D4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9D4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4EAA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EAA#FFFFFF#000000##FFFFFF
##9D4EAA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#5871A7
Tritanopia (blue-blind)
#9F5B75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d4eaa;
/* rgb */ color: rgb(157, 78, 170);
/* oklch */ color: oklch(55.7% 0.159 321.8);
Tailwind
colors: {
  custom: {
    50: '#bc83c3',
    500: '#9d4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9d4eaa;
$custom-light: #bc83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4eaa",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 291.522,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.15891,
    "h": 321.8
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#9D4EAA
secondary
#9AC094
accent
#CD5B6B
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9D4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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