#9C278E#9C278E

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

Color values

HEX#9C278E
RGBrgb(156, 39, 142)
HSLhsl(307, 60%, 38%)
HSVhsv(307, 75%, 61%)
CMYKcmyk(0%, 75%, 9%, 38.8%)
CIE-LABlab(38.68, 58.29, -30.74)
CIE-LCHlch(38.68, 65.90, 332.20°)
OKLaboklab(49.63% 0.1686 -0.0843)
OKLCHoklch(49.63% 0.189 333.4)
XYZxyz(19.3184, 10.4736, 26.5901)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C278E #279C35
analogous
#6F279C #9C278E #9C2754
triadic
#9C278E #8E9C27 #278E9C
tetradic
#9C278E #9C6F27 #279C35 #27549C
square
#9C278E #9C6F27 #279C35 #27549C
split-complementary
#9C278E #549C27 #279C6F
monochromatic
#3A0F35 #6B1B61 #9C278E #CC34BA #D865CB

Accessibility & contrast

On white

6.79
#9C278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C278E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C278E#FFFFFF#000000##FFFFFF
##9C278E1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#A33358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c278e;
/* rgb */ color: rgb(156, 39, 142);
/* oklch */ color: oklch(49.6% 0.189 333.4);
Tailwind
colors: {
  custom: {
    50: '#bd6eaf',
    500: '#9c278e',
    950: '#000000',
  },
}
SCSS
$custom: #9c278e;
$custom-light: #bd6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c278e",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 307.179,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.18853,
    "h": 333.4
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#9C278E
secondary
#61BE6C
accent
#E35845
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C278E

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

Preview Lab → · Contrast checker → · Palette generator →

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