#9B278F#9B278F

#9B278F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.189 H 332.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9B278F
RGBrgb(155, 39, 143)
HSLhsl(306, 60%, 38%)
HSVhsv(306, 75%, 61%)
CMYKcmyk(0%, 74.8%, 7.7%, 39.2%)
CIE-LABlab(38.56, 58.21, -31.55)
CIE-LCHlch(38.56, 66.21, 331.54°)
OKLaboklab(49.53% 0.1676 -0.0867)
OKLCHoklch(49.53% 0.189 332.7)
XYZxyz(19.2011, 10.4044, 26.9782)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B278F #279B33
analogous
#6D279B #9B278F #9B2755
triadic
#9B278F #8F9B27 #278F9B
tetradic
#9B278F #9B6D27 #279B33 #27559B
square
#9B278F #9B6D27 #279B33 #27559B
split-complementary
#9B278F #559B27 #279B6D
monochromatic
#390E35 #6A1B62 #9B278F #CC33BC #D864CC

Accessibility & contrast

On white

6.82
#9B278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9B278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B278F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B278F#FFFFFF#000000##FFFFFF
##9B278F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A23459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b278f;
/* rgb */ color: rgb(155, 39, 143);
/* oklch */ color: oklch(49.5% 0.189 332.7);
Tailwind
colors: {
  custom: {
    50: '#bc6eb0',
    500: '#9b278f',
    950: '#000000',
  },
}
SCSS
$custom: #9b278f;
$custom-light: #bc6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b278f",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 306.207,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49529,
    "c": 0.18871,
    "h": 332.7
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

primary
#9B278F
secondary
#60BE6A
accent
#E35545
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B278F

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

Preview Lab → · Contrast checker → · Palette generator →

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