#9B279F#9B279F

#9B279F is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.201 H 326.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9B279F
RGBrgb(155, 39, 159)
HSLhsl(298, 61%, 39%)
HSVhsv(298, 75%, 62%)
CMYKcmyk(2.5%, 75.5%, 0%, 37.6%)
CIE-LABlab(39.45, 60.84, -39.84)
CIE-LCHlch(39.45, 72.72, 326.78°)
OKLaboklab(50.46% 0.1678 -0.1107)
OKLCHoklch(50.46% 0.201 326.6)
XYZxyz(20.5007, 10.9242, 33.8230)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B279F #2B9F27
analogous
#5F279F #9B279F #9F2767
triadic
#9B279F #9F9B27 #279F9B
tetradic
#9B279F #9F5F27 #2B9F27 #27679F
square
#9B279F #9F5F27 #2B9F27 #27679F
split-complementary
#9B279F #679F27 #279F5F
monochromatic
#3B0F3D #6B1B6E #9B279F #C936CE #D667DA

Accessibility & contrast

On white

6.59
#9B279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9B279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B279F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B279F#FFFFFF#000000##FFFFFF
##9B279F1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0154A2
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#9F3B62
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b279f;
/* rgb */ color: rgb(155, 39, 159);
/* oklch */ color: oklch(50.5% 0.201 326.6);
Tailwind
colors: {
  custom: {
    50: '#bc6ebc',
    500: '#9b279f',
    950: '#000000',
  },
}
SCSS
$custom: #9b279f;
$custom-light: #bc6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b279f",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 298,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50457,
    "c": 0.20103,
    "h": 326.6
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

primary
#9B279F
secondary
#65C062
accent
#E44449
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B279F

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

Preview Lab → · Contrast checker → · Palette generator →

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