#9C2789#9C2789

#9C2789 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.185 H 335.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9C2789
RGBrgb(156, 39, 137)
HSLhsl(310, 60%, 38%)
HSVhsv(310, 75%, 61%)
CMYKcmyk(0%, 75%, 12.2%, 38.8%)
CIE-LABlab(38.42, 57.52, -28.07)
CIE-LCHlch(38.42, 64.01, 333.99°)
OKLaboklab(49.36% 0.1683 -0.0766)
OKLCHoklch(49.36% 0.185 335.5)
XYZxyz(18.9514, 10.3268, 24.6572)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2789 #279C3A
analogous
#74279C #9C2789 #9C274E
triadic
#9C2789 #899C27 #27899C
tetradic
#9C2789 #9C7427 #279C3A #274E9C
square
#9C2789 #9C7427 #279C3A #274E9C
split-complementary
#9C2789 #4E9C27 #279C74
monochromatic
#3A0F33 #6B1B5E #9C2789 #CC34B4 #D865C6

Accessibility & contrast

On white

6.85
#9C2789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C2789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2789
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2789#FFFFFF#000000##FFFFFF
##9C27891.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8C
Deuteranopia (green-blind)
#516186
Tritanopia (blue-blind)
#A43055
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2789;
/* rgb */ color: rgb(156, 39, 137);
/* oklch */ color: oklch(49.4% 0.185 335.5);
Tailwind
colors: {
  custom: {
    50: '#bd6eac',
    500: '#9c2789',
    950: '#000000',
  },
}
SCSS
$custom: #9c2789;
$custom-light: #bd6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2789",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 309.744,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49364,
    "c": 0.18489,
    "h": 335.5
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#9C2789
secondary
#61BE70
accent
#E35E45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2789

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

Preview Lab → · Contrast checker → · Palette generator →

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