#9D2B96#9D2B96

#9D2B96 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.191 H 330.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9D2B96
RGBrgb(157, 43, 150)
HSLhsl(304, 57%, 39%)
HSVhsv(304, 73%, 62%)
CMYKcmyk(0%, 72.6%, 4.5%, 38.4%)
CIE-LABlab(39.75, 58.45, -33.91)
CIE-LCHlch(39.75, 67.58, 329.88°)
OKLaboklab(50.57% 0.1662 -0.0935)
OKLCHoklch(50.57% 0.191 330.6)
XYZxyz(20.2735, 11.0994, 29.9229)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2B96 #2B9D32
analogous
#6B2B9D #9D2B96 #9D2B5D
triadic
#9D2B96 #969D2B #2B969D
tetradic
#9D2B96 #9D6B2B #2B9D32 #2B5D9D
square
#9D2B96 #9D6B2B #2B9D32 #2B5D9D
split-complementary
#9D2B96 #5D9D2B #2B9D6B
monochromatic
#3D113A #6D1E68 #9D2B96 #CA3CC1 #D76CD0

Accessibility & contrast

On white

6.52
#9D2B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9D2B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2B96
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2B96#FFFFFF#000000##FFFFFF
##9D2B961.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205499
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#A3395E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2b96;
/* rgb */ color: rgb(157, 43, 150);
/* oklch */ color: oklch(50.6% 0.191 330.6);
Tailwind
colors: {
  custom: {
    50: '#bd70b5',
    500: '#9d2b96',
    950: '#000000',
  },
}
SCSS
$custom: #9d2b96;
$custom-light: #bd70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2b96",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 303.684,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5057,
    "c": 0.19065,
    "h": 330.6
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#9D2B96
secondary
#66BD6C
accent
#E05148
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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