#9D4CAF#9D4CAF

#9D4CAF is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.7% C 0.167 H 320.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9D4CAF
RGBrgb(157, 76, 175)
HSLhsl(289, 39%, 49%)
HSVhsv(289, 57%, 69%)
CMYKcmyk(10.3%, 56.6%, 0%, 31.4%)
CIE-LABlab(46.22, 48.82, -38.60)
CIE-LCHlch(46.22, 62.24, 321.67°)
OKLaboklab(55.7% 0.1281 -0.1073)
OKLCHoklch(55.7% 0.167 320)
XYZxyz(24.2260, 15.4332, 42.2519)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CAF #5EAF4C
analogous
#6C4CAF #9D4CAF #AF4C90
triadic
#9D4CAF #AF9D4C #4CAF9D
tetradic
#9D4CAF #AF6C4C #5EAF4C #4C90AF
square
#9D4CAF #AF6C4C #5EAF4C #4C90AF
split-complementary
#9D4CAF #90AF4C #4CAF6C
monochromatic
#50275A #773984 #9D4CAF #B575C3 #CCA0D6

Accessibility & contrast

On white

5.14
#9D4CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9D4CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4CAF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CAF#FFFFFF#000000##FFFFFF
##9D4CAF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#9E5B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d4caf;
/* rgb */ color: rgb(157, 76, 175);
/* oklch */ color: oklch(55.7% 0.167 320.0);
Tailwind
colors: {
  custom: {
    50: '#bc82c7',
    500: '#9d4caf',
    950: '#000000',
  },
}
SCSS
$custom: #9d4caf;
$custom-light: #bc82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4caf",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 289.091,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.16709,
    "h": 320
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#9D4CAF
secondary
#9DC294
accent
#CF586E
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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