#9D278F#9D278F

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

Color values

HEX#9D278F
RGBrgb(157, 39, 143)
HSLhsl(307, 60%, 38%)
HSVhsv(307, 75%, 62%)
CMYKcmyk(0%, 75.2%, 8.9%, 38.4%)
CIE-LABlab(38.91, 58.68, -30.98)
CIE-LCHlch(38.91, 66.36, 332.17°)
OKLaboklab(49.84% 0.1697 -0.085)
OKLCHoklch(49.84% 0.19 333.4)
XYZxyz(19.5882, 10.6040, 26.9964)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D278F #279D35
analogous
#70279D #9D278F #9D2754
triadic
#9D278F #8F9D27 #278F9D
tetradic
#9D278F #9D7027 #279D35 #27549D
square
#9D278F #9D7027 #279D35 #27549D
split-complementary
#9D278F #549D27 #279D70
monochromatic
#3B0F36 #6C1B62 #9D278F #CD35BB #D966CB

Accessibility & contrast

On white

6.73
#9D278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D278F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D278F#FFFFFF#000000##FFFFFF
##9D278F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#4F628C
Tritanopia (blue-blind)
#A43359
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d278f;
/* rgb */ color: rgb(157, 39, 143);
/* oklch */ color: oklch(49.8% 0.190 333.4);
Tailwind
colors: {
  custom: {
    50: '#be6eb0',
    500: '#9d278f',
    950: '#000000',
  },
}
SCSS
$custom: #9d278f;
$custom-light: #be6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d278f",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 307.119,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.18981,
    "h": 333.4
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#9D278F
secondary
#61BF6C
accent
#E35744
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D278F

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

Preview Lab → · Contrast checker → · Palette generator →

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