#9C378E#9C378E

#9C378E is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.168 H 333.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9C378E
RGBrgb(156, 55, 142)
HSLhsl(308, 48%, 41%)
HSVhsv(308, 65%, 61%)
CMYKcmyk(0%, 64.7%, 9%, 38.8%)
CIE-LABlab(40.82, 52.26, -27.37)
CIE-LCHlch(40.82, 59.00, 332.36°)
OKLaboklab(51.18% 0.151 -0.0748)
OKLCHoklch(51.18% 0.168 333.7)
XYZxyz(19.9591, 11.7549, 26.8036)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C378E #379C45
analogous
#78379C #9C378E #9C375C
triadic
#9C378E #8E9C37 #378E9C
tetradic
#9C378E #9C7837 #379C45 #375C9C
square
#9C378E #9C7837 #379C45 #375C9C
split-complementary
#9C378E #5C9C37 #379C78
monochromatic
#42173C #6F2765 #9C378E #C14FB1 #D17CC5

Accessibility & contrast

On white

6.27
#9C378E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9C378E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C378E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C378E#FFFFFF#000000##FFFFFF
##9C378E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#56668B
Tritanopia (blue-blind)
#A33F5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c378e;
/* rgb */ color: rgb(156, 55, 142);
/* oklch */ color: oklch(51.2% 0.168 333.7);
Tailwind
colors: {
  custom: {
    50: '#bc75af',
    500: '#9c378e',
    950: '#000000',
  },
}
SCSS
$custom: #9c378e;
$custom-light: #bc75af;
$custom-dark: #000000;
JSON
{
  "hex": "#9c378e",
  "rgb": {
    "r": 156,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 308.317,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.16848,
    "h": 333.7
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#9C378E
secondary
#75BA7E
accent
#D76350
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C378E

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

Preview Lab → · Contrast checker → · Palette generator →

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