#9D4DAF#9D4DAF

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

Color values

HEX#9D4DAF
RGBrgb(157, 77, 175)
HSLhsl(289, 39%, 49%)
HSVhsv(289, 56%, 69%)
CMYKcmyk(10.3%, 56%, 0%, 31.4%)
CIE-LABlab(46.41, 48.32, -38.31)
CIE-LCHlch(46.41, 61.66, 321.60°)
OKLaboklab(55.84% 0.1267 -0.1065)
OKLCHoklch(55.84% 0.166 320)
XYZxyz(24.2954, 15.5720, 42.2751)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DAF #5FAF4D
analogous
#6C4DAF #9D4DAF #AF4D90
triadic
#9D4DAF #AF9D4D #4DAF9D
tetradic
#9D4DAF #AF6C4D #5FAF4D #4D90AF
square
#9D4DAF #AF6C4D #5FAF4D #4D90AF
split-complementary
#9D4DAF #90AF4D #4DAF6C
monochromatic
#51285A #773A85 #9D4DAF #B576C3 #CCA1D6

Accessibility & contrast

On white

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

On black

4.11
#9D4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D4DAF#FFFFFF#000000##FFFFFF
##9D4DAF1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#9E5C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d4daf;
/* rgb */ color: rgb(157, 77, 175);
/* oklch */ color: oklch(55.8% 0.166 320.0);
Tailwind
colors: {
  custom: {
    50: '#bc83c7',
    500: '#9d4daf',
    950: '#000000',
  },
}
SCSS
$custom: #9d4daf;
$custom-light: #bc83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4daf",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 288.98,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.16552,
    "h": 320
  },
  "luminance": 0.15571
}

Semantic roles & 50–950 ramp

primary
#9D4DAF
secondary
#9EC395
accent
#CF596F
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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