#9C1997#9C1997

#9C1997 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.208 H 330.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9C1997
RGBrgb(156, 25, 151)
HSLhsl(302, 72%, 35%)
HSVhsv(302, 84%, 61%)
CMYKcmyk(0%, 84%, 3.2%, 38.8%)
CIE-LABlab(37.84, 63.55, -37.55)
CIE-LCHlch(37.84, 73.81, 329.42°)
OKLaboklab(49.19% 0.1799 -0.1039)
OKLCHoklch(49.19% 0.208 330)
XYZxyz(19.6438, 9.9992, 30.1676)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1997 #199C1E
analogous
#5F199C #9C1997 #9C1955
triadic
#9C1997 #979C19 #19979C
tetradic
#9C1997 #9C5F19 #199C1E #19559C
square
#9C1997 #9C5F19 #199C1E #19559C
split-complementary
#9C1997 #559C19 #199C5F
monochromatic
#330831 #671164 #9C1997 #D121CA #E24DDD

Accessibility & contrast

On white

7.00
#9C1997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9C1997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1997
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1997#FFFFFF#000000##FFFFFF
##9C19971.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#A22F5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c1997;
/* rgb */ color: rgb(156, 25, 151);
/* oklch */ color: oklch(49.2% 0.208 330.0);
Tailwind
colors: {
  custom: {
    50: '#bd69b6',
    500: '#9c1997',
    950: '#000000',
  },
}
SCSS
$custom: #9c1997;
$custom-light: #bd69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1997",
  "rgb": {
    "r": 156,
    "g": 25,
    "b": 151
  },
  "hsl": {
    "h": 302.29,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49193,
    "c": 0.20779,
    "h": 330
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#9C1997
secondary
#4CC451
accent
#EF4039
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9C1997

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

Preview Lab → · Contrast checker → · Palette generator →

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