#9C278D#9C278D

#9C278D is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.188 H 333.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9C278D
RGBrgb(156, 39, 141)
HSLhsl(308, 60%, 38%)
HSVhsv(308, 75%, 61%)
CMYKcmyk(0%, 75%, 9.6%, 38.8%)
CIE-LABlab(38.63, 58.14, -30.21)
CIE-LCHlch(38.63, 65.52, 332.54°)
OKLaboklab(49.58% 0.1686 -0.0828)
OKLCHoklch(49.58% 0.188 333.8)
XYZxyz(19.2437, 10.4437, 26.1965)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C278D #279C36
analogous
#70279C #9C278D #9C2752
triadic
#9C278D #8D9C27 #278D9C
tetradic
#9C278D #9C7027 #279C36 #27529C
square
#9C278D #9C7027 #279C36 #27529C
split-complementary
#9C278D #529C27 #279C70
monochromatic
#3A0F34 #6B1B61 #9C278D #CC34B9 #D865CA

Accessibility & contrast

On white

6.80
#9C278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9C278D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C278D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C278D#FFFFFF#000000##FFFFFF
##9C278D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#A33258
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c278d;
/* rgb */ color: rgb(156, 39, 141);
/* oklch */ color: oklch(49.6% 0.188 333.8);
Tailwind
colors: {
  custom: {
    50: '#bd6eae',
    500: '#9c278d',
    950: '#000000',
  },
}
SCSS
$custom: #9c278d;
$custom-light: #bd6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c278d",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 307.692,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49577,
    "c": 0.18779,
    "h": 333.8
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#9C278D
secondary
#61BE6D
accent
#E35945
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C278D

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

Preview Lab → · Contrast checker → · Palette generator →

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