#9D2C96#9D2C96

#9D2C96 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.190 H 330.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9D2C96
RGBrgb(157, 44, 150)
HSLhsl(304, 56%, 39%)
HSVhsv(304, 72%, 62%)
CMYKcmyk(0%, 72%, 4.5%, 38.4%)
CIE-LABlab(39.87, 58.10, -33.72)
CIE-LCHlch(39.87, 67.18, 329.87°)
OKLaboklab(50.66% 0.1652 -0.0929)
OKLCHoklch(50.66% 0.19 330.6)
XYZxyz(20.3103, 11.1730, 29.9351)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C96 #2C9D33
analogous
#6C2C9D #9D2C96 #9D2C5E
triadic
#9D2C96 #969D2C #2C969D
tetradic
#9D2C96 #9D6C2C #2C9D33 #2C5E9D
square
#9D2C96 #9D6C2C #2C9D33 #2C5E9D
split-complementary
#9D2C96 #5E9D2C #2C9D6C
monochromatic
#3D113B #6D1F68 #9D2C96 #C93DC0 #D66DD0

Accessibility & contrast

On white

6.49
#9D2C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9D2C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C96
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C96#FFFFFF#000000##FFFFFF
##9D2C961.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#4E6393
Tritanopia (blue-blind)
#A33A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2c96;
/* rgb */ color: rgb(157, 44, 150);
/* oklch */ color: oklch(50.7% 0.190 330.6);
Tailwind
colors: {
  custom: {
    50: '#bd70b5',
    500: '#9d2c96',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c96;
$custom-light: #bd70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c96",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 303.717,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50658,
    "c": 0.1895,
    "h": 330.6
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#9D2C96
secondary
#68BD6D
accent
#E05248
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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