#9D378F#9D378F

#9D378F is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.4% C 0.170 H 333.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9D378F
RGBrgb(157, 55, 143)
HSLhsl(308, 48%, 42%)
HSVhsv(308, 65%, 62%)
CMYKcmyk(0%, 65%, 8.9%, 38.4%)
CIE-LABlab(41.03, 52.69, -27.64)
CIE-LCHlch(41.03, 59.50, 332.32°)
OKLaboklab(51.38% 0.1522 -0.0755)
OKLCHoklch(51.38% 0.17 333.6)
XYZxyz(20.2288, 11.8852, 27.2099)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D378F #379D45
analogous
#78379D #9D378F #9D375C
triadic
#9D378F #8F9D37 #378F9D
tetradic
#9D378F #9D7837 #379D45 #375C9D
square
#9D378F #9D7837 #379D45 #375C9D
split-complementary
#9D378F #5C9D37 #379D78
monochromatic
#42173C #702766 #9D378F #C250B2 #D17DC6

Accessibility & contrast

On white

6.22
#9D378F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9D378F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D378F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D378F#FFFFFF#000000##FFFFFF
##9D378F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355792
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#A43F5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d378f;
/* rgb */ color: rgb(157, 55, 143);
/* oklch */ color: oklch(51.4% 0.170 333.6);
Tailwind
colors: {
  custom: {
    50: '#bd75b0',
    500: '#9d378f',
    950: '#000000',
  },
}
SCSS
$custom: #9d378f;
$custom-light: #bd75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d378f",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 308.235,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.16991,
    "h": 333.6
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D378F

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

Preview Lab → · Contrast checker → · Palette generator →

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