#9C2997#9C2997

#9C2997 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.193 H 329.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9C2997
RGBrgb(156, 41, 151)
HSLhsl(303, 58%, 39%)
HSVhsv(303, 74%, 61%)
CMYKcmyk(0%, 73.7%, 3.2%, 38.8%)
CIE-LABlab(39.39, 59.07, -35.09)
CIE-LCHlch(39.39, 68.70, 329.29°)
OKLaboklab(50.3% 0.1671 -0.0969)
OKLCHoklch(50.3% 0.193 329.9)
XYZxyz(20.0890, 10.8897, 30.3160)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2997 #299C2E
analogous
#67299C #9C2997 #9C295D
triadic
#9C2997 #979C29 #29979C
tetradic
#9C2997 #9C6729 #299C2E #295D9C
square
#9C2997 #9C6729 #299C2E #295D9C
split-complementary
#9C2997 #5D9C29 #299C67
monochromatic
#3B1039 #6C1C68 #9C2997 #CB38C4 #D768D2

Accessibility & contrast

On white

6.61
#9C2997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9C2997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2997
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2997#FFFFFF#000000##FFFFFF
##9C29971.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#4B6294
Tritanopia (blue-blind)
#A2395E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2997;
/* rgb */ color: rgb(156, 41, 151);
/* oklch */ color: oklch(50.3% 0.193 329.9);
Tailwind
colors: {
  custom: {
    50: '#bd6fb6',
    500: '#9c2997',
    950: '#000000',
  },
}
SCSS
$custom: #9c2997;
$custom-light: #bd6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2997",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 302.609,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50301,
    "c": 0.19314,
    "h": 329.9
  },
  "luminance": 0.10888
}

Semantic roles & 50–950 ramp

primary
#9C2997
secondary
#63BE67
accent
#E24D46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2997

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

Preview Lab → · Contrast checker → · Palette generator →

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