#9C2D95#9C2D95

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

Color values

HEX#9C2D95
RGBrgb(156, 45, 149)
HSLhsl(304, 55%, 39%)
HSVhsv(304, 71%, 61%)
CMYKcmyk(0%, 71.2%, 4.5%, 38.8%)
CIE-LABlab(39.78, 57.35, -33.27)
CIE-LCHlch(39.78, 66.30, 329.88°)
OKLaboklab(50.54% 0.163 -0.0917)
OKLCHoklch(50.54% 0.187 330.7)
XYZxyz(20.0734, 11.1162, 29.5163)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D95 #2D9C34
analogous
#6C2D9C #9C2D95 #9C2D5E
triadic
#9C2D95 #959C2D #2D959C
tetradic
#9C2D95 #9C6C2D #2D9C34 #2D5E9C
square
#9C2D95 #9C6C2D #2D9C34 #2D5E9C
split-complementary
#9C2D95 #5E9C2D #2D9C6C
monochromatic
#3D123A #6D1F68 #9C2D95 #C83FBF #D56ECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2D95#FFFFFF#000000##FFFFFF
##9C2D951.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)
#235498
Deuteranopia (green-blind)
#4E6392
Tritanopia (blue-blind)
#A23A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2d95;
/* rgb */ color: rgb(156, 45, 149);
/* oklch */ color: oklch(50.5% 0.187 330.7);
Tailwind
colors: {
  custom: {
    50: '#bd71b4',
    500: '#9c2d95',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d95;
$custom-light: #bd71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d95",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 303.784,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5054,
    "c": 0.18701,
    "h": 330.7
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#9C2D95
secondary
#68BC6E
accent
#DF5349
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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