#9C2D96#9C2D96

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

Color values

HEX#9C2D96
RGBrgb(156, 45, 150)
HSLhsl(303, 55%, 39%)
HSVhsv(303, 71%, 61%)
CMYKcmyk(0%, 71.2%, 3.8%, 38.8%)
CIE-LABlab(39.83, 57.51, -33.80)
CIE-LCHlch(39.83, 66.71, 329.56°)
OKLaboklab(50.6% 0.1631 -0.0932)
OKLCHoklch(50.6% 0.188 330.3)
XYZxyz(20.1536, 11.1482, 29.9386)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D96 #2D9C33
analogous
#6B2D9C #9C2D96 #9C2D5F
triadic
#9C2D96 #969C2D #2D969C
tetradic
#9C2D96 #9C6B2D #2D9C33 #2D5F9C
square
#9C2D96 #9C6B2D #2D9C33 #2D5F9C
split-complementary
#9C2D96 #5F9C2D #2D9C6B
monochromatic
#3D123B #6D1F68 #9C2D96 #C83FC0 #D56ED0

Accessibility & contrast

On white

6.50
#9C2D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2D96
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D96#FFFFFF#000000##FFFFFF
##9C2D961.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2d96;
/* rgb */ color: rgb(156, 45, 150);
/* oklch */ color: oklch(50.6% 0.188 330.3);
Tailwind
colors: {
  custom: {
    50: '#bd71b5',
    500: '#9c2d96',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d96;
$custom-light: #bd71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d96",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 303.243,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50596,
    "c": 0.18779,
    "h": 330.3
  },
  "luminance": 0.11147
}

Semantic roles & 50–950 ramp

primary
#9C2D96
secondary
#68BC6D
accent
#DF5149
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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