#9D378E#9D378E

#9D378E is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.3% C 0.169 H 334.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9D378E
RGBrgb(157, 55, 142)
HSLhsl(309, 48%, 42%)
HSVhsv(309, 65%, 62%)
CMYKcmyk(0%, 65%, 9.6%, 38.4%)
CIE-LABlab(40.98, 52.53, -27.11)
CIE-LCHlch(40.98, 59.11, 332.70°)
OKLaboklab(51.33% 0.1521 -0.074)
OKLCHoklch(51.33% 0.169 334.1)
XYZxyz(20.1534, 11.8551, 26.8128)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D378E #379D46
analogous
#79379D #9D378E #9D375B
triadic
#9D378E #8E9D37 #378E9D
tetradic
#9D378E #9D7937 #379D46 #375B9D
square
#9D378E #9D7937 #379D46 #375B9D
split-complementary
#9D378E #5B9D37 #379D79
monochromatic
#42173C #702765 #9D378E #C250B1 #D17DC5

Accessibility & contrast

On white

6.23
#9D378E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9D378E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D378E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D378E#FFFFFF#000000##FFFFFF
##9D378E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#A43F5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d378e;
/* rgb */ color: rgb(157, 55, 142);
/* oklch */ color: oklch(51.3% 0.169 334.1);
Tailwind
colors: {
  custom: {
    50: '#bd75af',
    500: '#9d378e',
    950: '#000000',
  },
}
SCSS
$custom: #9d378e;
$custom-light: #bd75af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d378e",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 308.824,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.16912,
    "h": 334.1
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#9D378E
secondary
#75BB7F
accent
#D86450
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D378E

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

Preview Lab → · Contrast checker → · Palette generator →

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