#9D4AAF#9D4AAF

#9D4AAF is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.4% C 0.170 H 320.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9D4AAF
RGBrgb(157, 74, 175)
HSLhsl(289, 41%, 49%)
HSVhsv(289, 58%, 69%)
CMYKcmyk(10.3%, 57.7%, 0%, 31.4%)
CIE-LABlab(45.86, 49.81, -39.18)
CIE-LCHlch(45.86, 63.37, 321.81°)
OKLaboklab(55.43% 0.1307 -0.109)
OKLCHoklch(55.43% 0.17 320.2)
XYZxyz(24.0903, 15.1619, 42.2067)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4AAF #5CAF4A
analogous
#6B4AAF #9D4AAF #AF4A8F
triadic
#9D4AAF #AF9D4A #4AAF9D
tetradic
#9D4AAF #AF6B4A #5CAF4A #4A8FAF
square
#9D4AAF #AF6B4A #5CAF4A #4A8FAF
split-complementary
#9D4AAF #8FAF4A #4AAF6B
monochromatic
#502659 #763884 #9D4AAF #B573C4 #CC9ED6

Accessibility & contrast

On white

5.21
#9D4AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9D4AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4AAF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4AAF#FFFFFF#000000##FFFFFF
##9D4AAF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#5270AC
Tritanopia (blue-blind)
#9E5975
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d4aaf;
/* rgb */ color: rgb(157, 74, 175);
/* oklch */ color: oklch(55.4% 0.170 320.2);
Tailwind
colors: {
  custom: {
    50: '#bc81c7',
    500: '#9d4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #9d4aaf;
$custom-light: #bc81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4aaf",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 289.307,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.1702,
    "h": 320.2
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#9D4AAF
secondary
#9BC292
accent
#D0576D
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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