#9D4CB2#9D4CB2

#9D4CB2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 55.9% C 0.170 H 319.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9D4CB2
RGBrgb(157, 76, 178)
HSLhsl(288, 40%, 50%)
HSVhsv(288, 57%, 70%)
CMYKcmyk(11.8%, 57.3%, 0%, 30.2%)
CIE-LABlab(46.38, 49.43, -40.11)
CIE-LCHlch(46.38, 63.65, 320.94°)
OKLaboklab(55.87% 0.1283 -0.1117)
OKLCHoklch(55.87% 0.17 319)
XYZxyz(24.5239, 15.5523, 43.8209)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CB2 #61B24C
analogous
#6A4CB2 #9D4CB2 #B24C94
triadic
#9D4CB2 #B29D4C #4CB29D
tetradic
#9D4CB2 #B26A4C #61B24C #4C94B2
square
#9D4CB2 #B26A4C #61B24C #4C94B2
split-complementary
#9D4CB2 #94B24C #4CB26A
monochromatic
#51275C #773A87 #9D4CB2 #B576C5 #CCA1D7

Accessibility & contrast

On white

5.11
#9D4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D4CB2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CB2#FFFFFF#000000##FFFFFF
##9D4CB21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#9D5C78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d4cb2;
/* rgb */ color: rgb(157, 76, 178);
/* oklch */ color: oklch(55.9% 0.170 319.0);
Tailwind
colors: {
  custom: {
    50: '#bc82c9',
    500: '#9d4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cb2;
$custom-light: #bc82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cb2",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 287.647,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55869,
    "c": 0.1701,
    "h": 319
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#9D4CB2
secondary
#9FC496
accent
#D05871
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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