#9D4BB2#9D4BB2

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

Color values

HEX#9D4BB2
RGBrgb(157, 75, 178)
HSLhsl(288, 41%, 50%)
HSVhsv(288, 58%, 70%)
CMYKcmyk(11.8%, 57.9%, 0%, 30.2%)
CIE-LABlab(46.20, 49.92, -40.40)
CIE-LCHlch(46.20, 64.22, 321.02°)
OKLaboklab(55.74% 0.1296 -0.1125)
OKLCHoklch(55.74% 0.172 319)
XYZxyz(24.4555, 15.4156, 43.7982)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BB2 #60B24B
analogous
#6A4BB2 #9D4BB2 #B24B94
triadic
#9D4BB2 #B29D4B #4BB29D
tetradic
#9D4BB2 #B26A4B #60B24B #4B94B2
square
#9D4BB2 #B26A4B #60B24B #4B94B2
split-complementary
#9D4BB2 #94B24B #4BB26A
monochromatic
#51275C #773987 #9D4BB2 #B575C5 #CCA0D7

Accessibility & contrast

On white

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

On black

4.08
#9D4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D4BB2#FFFFFF#000000##FFFFFF
##9D4BB21.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#9D5B77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d4bb2;
/* rgb */ color: rgb(157, 75, 178);
/* oklch */ color: oklch(55.7% 0.172 319.0);
Tailwind
colors: {
  custom: {
    50: '#bc81c9',
    500: '#9d4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bb2;
$custom-light: #bc81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bb2",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 287.767,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.17164,
    "h": 319
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#9D4BB2
secondary
#9EC495
accent
#D15770
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9D4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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