#9B278D#9B278D

#9B278D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.187 H 333.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9B278D
RGBrgb(155, 39, 141)
HSLhsl(307, 60%, 38%)
HSVhsv(307, 75%, 61%)
CMYKcmyk(0%, 74.8%, 9%, 39.2%)
CIE-LABlab(38.45, 57.90, -30.49)
CIE-LCHlch(38.45, 65.44, 332.23°)
OKLaboklab(49.42% 0.1675 -0.0836)
OKLCHoklch(49.42% 0.187 333.5)
XYZxyz(19.0509, 10.3443, 26.1874)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B278D #279B35
analogous
#6F279B #9B278D #9B2753
triadic
#9B278D #8D9B27 #278D9B
tetradic
#9B278D #9B6F27 #279B35 #27539B
square
#9B278D #9B6F27 #279B35 #27539B
split-complementary
#9B278D #539B27 #279B6F
monochromatic
#390E34 #6A1B61 #9B278D #CC33B9 #D864CA

Accessibility & contrast

On white

6.84
#9B278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9B278D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B278D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B278D#FFFFFF#000000##FFFFFF
##9B278D1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A23358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b278d;
/* rgb */ color: rgb(155, 39, 141);
/* oklch */ color: oklch(49.4% 0.187 333.5);
Tailwind
colors: {
  custom: {
    50: '#bc6eae',
    500: '#9b278d',
    950: '#000000',
  },
}
SCSS
$custom: #9b278d;
$custom-light: #bc6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b278d",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 307.241,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.18724,
    "h": 333.5
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#9B278D
secondary
#60BE6B
accent
#E35845
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B278D

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

Preview Lab → · Contrast checker → · Palette generator →

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