#9C2B97#9C2B97

#9C2B97 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.191 H 329.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9C2B97
RGBrgb(156, 43, 151)
HSLhsl(303, 57%, 39%)
HSVhsv(303, 72%, 61%)
CMYKcmyk(0%, 72.4%, 3.2%, 38.8%)
CIE-LABlab(39.63, 58.39, -34.71)
CIE-LCHlch(39.63, 67.92, 329.27°)
OKLaboklab(50.47% 0.1651 -0.0958)
OKLCHoklch(50.47% 0.191 329.9)
XYZxyz(20.1600, 11.0316, 30.3397)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B97 #2B9C30
analogous
#692B9C #9C2B97 #9C2B5F
triadic
#9C2B97 #979C2B #2B979C
tetradic
#9C2B97 #9C692B #2B9C30 #2B5F9C
square
#9C2B97 #9C692B #2B9C30 #2B5F9C
split-complementary
#9C2B97 #5F9C2B #2B9C69
monochromatic
#3C113A #6C1E69 #9C2B97 #C93BC3 #D66BD2

Accessibility & contrast

On white

6.55
#9C2B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9C2B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2B97
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2B97#FFFFFF#000000##FFFFFF
##9C2B971.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#4C6394
Tritanopia (blue-blind)
#A23A5E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2b97;
/* rgb */ color: rgb(156, 43, 151);
/* oklch */ color: oklch(50.5% 0.191 329.9);
Tailwind
colors: {
  custom: {
    50: '#bd70b6',
    500: '#9c2b97',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b97;
$custom-light: #bd70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b97",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 302.655,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.1909,
    "h": 329.9
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#9C2B97
secondary
#66BD6A
accent
#E04E48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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