#9D278E#9D278E

#9D278E is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.189 H 333.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9D278E
RGBrgb(157, 39, 142)
HSLhsl(308, 60%, 38%)
HSVhsv(308, 75%, 62%)
CMYKcmyk(0%, 75.2%, 9.6%, 38.4%)
CIE-LABlab(38.85, 58.52, -30.45)
CIE-LCHlch(38.85, 65.97, 332.51°)
OKLaboklab(49.79% 0.1697 -0.0834)
OKLCHoklch(49.79% 0.189 333.8)
XYZxyz(19.5128, 10.5738, 26.5992)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D278E #279D36
analogous
#71279D #9D278E #9D2753
triadic
#9D278E #8E9D27 #278E9D
tetradic
#9D278E #9D7127 #279D36 #27539D
square
#9D278E #9D7127 #279D36 #27539D
split-complementary
#9D278E #539D27 #279D71
monochromatic
#3B0F35 #6C1B62 #9D278E #CD35B9 #D966CA

Accessibility & contrast

On white

6.74
#9D278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D278E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D278E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D278E#FFFFFF#000000##FFFFFF
##9D278E1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#50628B
Tritanopia (blue-blind)
#A43258
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d278e;
/* rgb */ color: rgb(157, 39, 142);
/* oklch */ color: oklch(49.8% 0.189 333.8);
Tailwind
colors: {
  custom: {
    50: '#be6eaf',
    500: '#9d278e',
    950: '#000000',
  },
}
SCSS
$custom: #9d278e;
$custom-light: #be6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d278e",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 307.627,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.18907,
    "h": 333.8
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#9D278E
secondary
#61BF6D
accent
#E35944
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D278E

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

Preview Lab → · Contrast checker → · Palette generator →

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