#9B279C#9B279C

#9B279C is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.3% C 0.199 H 327.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9B279C
RGBrgb(155, 39, 156)
HSLhsl(299, 60%, 38%)
HSVhsv(299, 75%, 61%)
CMYKcmyk(0.6%, 75%, 0%, 38.8%)
CIE-LABlab(39.28, 60.33, -38.31)
CIE-LCHlch(39.28, 71.47, 327.58°)
OKLaboklab(50.28% 0.1679 -0.1062)
OKLCHoklch(50.28% 0.199 327.7)
XYZxyz(20.2436, 10.8214, 32.4686)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B279C #289C27
analogous
#60279C #9B279C #9C2762
triadic
#9B279C #9C9B27 #279C9B
tetradic
#9B279C #9C6027 #289C27 #27629C
square
#9B279C #9C6027 #289C27 #27629C
split-complementary
#9B279C #629C27 #279C60
monochromatic
#3A0F3A #6A1B6B #9B279C #CB34CC #D765D8

Accessibility & contrast

On white

6.64
#9B279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B279C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B279C#FFFFFF#000000##FFFFFF
##9B279C1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A539F
Deuteranopia (green-blind)
#466299
Tritanopia (blue-blind)
#A03A60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b279c;
/* rgb */ color: rgb(155, 39, 156);
/* oklch */ color: oklch(50.3% 0.199 327.7);
Tailwind
colors: {
  custom: {
    50: '#bc6eba',
    500: '#9b279c',
    950: '#000000',
  },
}
SCSS
$custom: #9b279c;
$custom-light: #bc6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#9b279c",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 299.487,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.19867,
    "h": 327.7
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

primary
#9B279C
secondary
#61BE61
accent
#E34546
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B279C

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

Preview Lab → · Contrast checker → · Palette generator →

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