#9B279B#9B279B

#9B279B is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.198 H 328.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9B279B
RGBrgb(155, 39, 155)
HSLhsl(300, 60%, 38%)
HSVhsv(300, 75%, 61%)
CMYKcmyk(0%, 74.8%, 0%, 39.2%)
CIE-LABlab(39.22, 60.16, -37.80)
CIE-LCHlch(39.22, 71.05, 327.86°)
OKLaboklab(50.22% 0.1679 -0.1048)
OKLCHoklch(50.22% 0.198 328)
XYZxyz(20.1592, 10.7876, 32.0244)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B279B #279B27
analogous
#61279B #9B279B #9B2761
triadic
#9B279B #9B9B27 #279B9B
tetradic
#9B279B #9B6127 #279B27 #27619B
square
#9B279B #9B6127 #279B27 #27619B
split-complementary
#9B279B #619B27 #279B61
monochromatic
#390E39 #6A1B6A #9B279B #CC33CC #D864D8

Accessibility & contrast

On white

6.65
#9B279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9B279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B279B
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B279B#FFFFFF#000000##FFFFFF
##9B279B1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D539E
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#A0395F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b279b;
/* rgb */ color: rgb(155, 39, 155);
/* oklch */ color: oklch(50.2% 0.198 328.0);
Tailwind
colors: {
  custom: {
    50: '#bc6eb9',
    500: '#9b279b',
    950: '#000000',
  },
}
SCSS
$custom: #9b279b;
$custom-light: #bc6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b279b",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 300,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.19788,
    "h": 328
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#9B279B
secondary
#60BE60
accent
#E34545
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B279B

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

Preview Lab → · Contrast checker → · Palette generator →

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