#9D4BB1#9D4BB1

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

Color values

HEX#9D4BB1
RGBrgb(157, 75, 177)
HSLhsl(288, 40%, 49%)
HSVhsv(288, 58%, 69%)
CMYKcmyk(11.3%, 57.6%, 0%, 30.6%)
CIE-LABlab(46.14, 49.72, -39.90)
CIE-LCHlch(46.14, 63.75, 321.25°)
OKLaboklab(55.68% 0.1296 -0.1111)
OKLCHoklch(55.68% 0.171 319.4)
XYZxyz(24.3555, 15.3756, 43.2713)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BB1 #5FB14B
analogous
#6A4BB1 #9D4BB1 #B14B92
triadic
#9D4BB1 #B19D4B #4BB19D
tetradic
#9D4BB1 #B16A4B #5FB14B #4B92B1
square
#9D4BB1 #B16A4B #5FB14B #4B92B1
split-complementary
#9D4BB1 #92B14B #4BB16A
monochromatic
#51275B #773986 #9D4BB1 #B575C4 #CCA0D7

Accessibility & contrast

On white

5.15
#9D4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9D4BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BB1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BB1#FFFFFF#000000##FFFFFF
##9D4BB11.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#9D5B77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d4bb1;
/* rgb */ color: rgb(157, 75, 177);
/* oklch */ color: oklch(55.7% 0.171 319.4);
Tailwind
colors: {
  custom: {
    50: '#bc81c9',
    500: '#9d4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bb1;
$custom-light: #bc81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bb1",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 288.235,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.17065,
    "h": 319.4
  },
  "luminance": 0.15375
}

Semantic roles & 50–950 ramp

primary
#9D4BB1
secondary
#9EC394
accent
#D0576F
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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