#9C1989#9C1989

#9C1989 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.198 H 335.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9C1989
RGBrgb(156, 25, 137)
HSLhsl(309, 72%, 35%)
HSVhsv(309, 84%, 61%)
CMYKcmyk(0%, 84%, 12.2%, 38.8%)
CIE-LABlab(37.06, 61.44, -30.21)
CIE-LCHlch(37.06, 68.46, 333.81°)
OKLaboklab(48.39% 0.1799 -0.0827)
OKLCHoklch(48.39% 0.198 335.3)
XYZxyz(18.5736, 9.5711, 24.5313)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1989 #199C2C
analogous
#6D199C #9C1989 #9C1948
triadic
#9C1989 #899C19 #19899C
tetradic
#9C1989 #9C6D19 #199C2C #19489C
square
#9C1989 #9C6D19 #199C2C #19489C
split-complementary
#9C1989 #489C19 #199C6D
monochromatic
#33082C #67115B #9C1989 #D121B7 #E24DCD

Accessibility & contrast

On white

7.21
#9C1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9C1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1989
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1989#FFFFFF#000000##FFFFFF
##9C19891.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#4D5E86
Tritanopia (blue-blind)
#A42752
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1989;
/* rgb */ color: rgb(156, 25, 137);
/* oklch */ color: oklch(48.4% 0.198 335.3);
Tailwind
colors: {
  custom: {
    50: '#bd69ac',
    500: '#9c1989',
    950: '#000000',
  },
}
SCSS
$custom: #9c1989;
$custom-light: #bd69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1989",
  "rgb": {
    "r": 156,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 308.702,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48387,
    "c": 0.19797,
    "h": 335.3
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#9C1989
secondary
#4CC45E
accent
#EF5339
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1989

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

Preview Lab → · Contrast checker → · Palette generator →

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