#9C278F#9C278F

#9C278F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.189 H 333.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9C278F
RGBrgb(156, 39, 143)
HSLhsl(307, 60%, 38%)
HSVhsv(307, 75%, 61%)
CMYKcmyk(0%, 75%, 8.3%, 38.8%)
CIE-LABlab(38.73, 58.45, -31.27)
CIE-LCHlch(38.73, 66.28, 331.86°)
OKLaboklab(49.69% 0.1687 -0.0858)
OKLCHoklch(49.69% 0.189 333)
XYZxyz(19.3939, 10.5038, 26.9873)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C278F #279C34
analogous
#6E279C #9C278F #9C2754
triadic
#9C278F #8F9C27 #278F9C
tetradic
#9C278F #9C6E27 #279C34 #27549C
square
#9C278F #9C6E27 #279C34 #27549C
split-complementary
#9C278F #549C27 #279C6E
monochromatic
#3A0F35 #6B1B62 #9C278F #CC34BB #D865CC

Accessibility & contrast

On white

6.77
#9C278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9C278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C278F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C278F#FFFFFF#000000##FFFFFF
##9C278F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A33359
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c278f;
/* rgb */ color: rgb(156, 39, 143);
/* oklch */ color: oklch(49.7% 0.189 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd6eb0',
    500: '#9c278f',
    950: '#000000',
  },
}
SCSS
$custom: #9c278f;
$custom-light: #bd6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c278f",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 306.667,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.18927,
    "h": 333
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#9C278F
secondary
#61BE6B
accent
#E35645
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C278F

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

Preview Lab → · Contrast checker → · Palette generator →

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