#9C1998#9C1998

#9C1998 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.209 H 329.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9C1998
RGBrgb(156, 25, 152)
HSLhsl(302, 72%, 35%)
HSVhsv(302, 84%, 61%)
CMYKcmyk(0%, 84%, 2.6%, 38.8%)
CIE-LABlab(37.90, 63.70, -38.07)
CIE-LCHlch(37.90, 74.21, 329.14°)
OKLaboklab(49.25% 0.1799 -0.1054)
OKLCHoklch(49.25% 0.209 329.6)
XYZxyz(19.7253, 10.0318, 30.5971)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1998 #199C1D
analogous
#5E199C #9C1998 #9C1956
triadic
#9C1998 #989C19 #19989C
tetradic
#9C1998 #9C5E19 #199C1D #19569C
square
#9C1998 #9C5E19 #199C1D #19569C
split-complementary
#9C1998 #569C19 #199C5E
monochromatic
#330831 #671165 #9C1998 #D121CB #E24DDE

Accessibility & contrast

On white

6.99
#9C1998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9C1998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1998
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1998#FFFFFF#000000##FFFFFF
##9C19981.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#A2305B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c1998;
/* rgb */ color: rgb(156, 25, 152);
/* oklch */ color: oklch(49.3% 0.209 329.6);
Tailwind
colors: {
  custom: {
    50: '#bd69b7',
    500: '#9c1998',
    950: '#000000',
  },
}
SCSS
$custom: #9c1998;
$custom-light: #bd69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1998",
  "rgb": {
    "r": 156,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 301.832,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.20851,
    "h": 329.6
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

primary
#9C1998
secondary
#4CC450
accent
#EF3E39
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9C1998

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

Preview Lab → · Contrast checker → · Palette generator →

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