#9D4FAC#9D4FAC

#9D4FAC is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.0% C 0.159 H 321.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9D4FAC
RGBrgb(157, 79, 172)
HSLhsl(290, 37%, 49%)
HSVhsv(290, 54%, 67%)
CMYKcmyk(8.7%, 54.1%, 0%, 32.5%)
CIE-LABlab(46.63, 46.71, -36.19)
CIE-LCHlch(46.63, 59.09, 322.23°)
OKLaboklab(55.95% 0.1237 -0.1003)
OKLCHoklch(55.95% 0.159 321)
XYZxyz(24.1461, 15.7397, 40.7879)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FAC #5EAC4F
analogous
#6F4FAC #9D4FAC #AC4F8D
triadic
#9D4FAC #AC9D4F #4FAC9D
tetradic
#9D4FAC #AC6F4F #5EAC4F #4F8DAC
square
#9D4FAC #AC6F4F #5EAC4F #4F8DAC
split-complementary
#9D4FAC #8DAC4F #4FAC6F
monochromatic
#502858 #773C82 #9D4FAC #B577C1 #CCA1D4

Accessibility & contrast

On white

5.06
#9D4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9D4FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4FAC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FAC#FFFFFF#000000##FFFFFF
##9D4FAC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#9E5C76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d4fac;
/* rgb */ color: rgb(157, 79, 172);
/* oklch */ color: oklch(56.0% 0.159 321.0);
Tailwind
colors: {
  custom: {
    50: '#bc84c5',
    500: '#9d4fac',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fac;
$custom-light: #bc84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fac",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 290.323,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5595,
    "c": 0.1593,
    "h": 321
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#9D4FAC
secondary
#9DC196
accent
#CD5B6D
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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