#9D278C#9D278C

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

Color values

HEX#9D278C
RGBrgb(157, 39, 140)
HSLhsl(309, 60%, 38%)
HSVhsv(309, 75%, 62%)
CMYKcmyk(0%, 75.2%, 10.8%, 38.4%)
CIE-LABlab(38.75, 58.22, -29.39)
CIE-LCHlch(38.75, 65.21, 333.21°)
OKLaboklab(49.68% 0.1695 -0.0804)
OKLCHoklch(49.68% 0.188 334.6)
XYZxyz(19.3640, 10.5143, 25.8155)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D278C #279D38
analogous
#73279D #9D278C #9D2751
triadic
#9D278C #8C9D27 #278C9D
tetradic
#9D278C #9D7327 #279D38 #27519D
square
#9D278C #9D7327 #279D38 #27519D
split-complementary
#9D278C #519D27 #279D73
monochromatic
#3B0F35 #6C1B60 #9D278C #CD35B7 #D966C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D278C#FFFFFF#000000##FFFFFF
##9D278C1.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)
#26508F
Deuteranopia (green-blind)
#516189
Tritanopia (blue-blind)
#A53157
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d278c;
/* rgb */ color: rgb(157, 39, 140);
/* oklch */ color: oklch(49.7% 0.188 334.6);
Tailwind
colors: {
  custom: {
    50: '#be6eae',
    500: '#9d278c',
    950: '#000000',
  },
}
SCSS
$custom: #9d278c;
$custom-light: #be6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d278c",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 308.644,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.18762,
    "h": 334.6
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#9D278C
secondary
#61BF6F
accent
#E35B44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D278C

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

Preview Lab → · Contrast checker → · Palette generator →

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