#9B3C8F#9B3C8F

#9B3C8F is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.7% C 0.161 H 332.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9B3C8F
RGBrgb(155, 60, 143)
HSLhsl(308, 44%, 42%)
HSVhsv(308, 61%, 61%)
CMYKcmyk(0%, 61.3%, 7.7%, 39.2%)
CIE-LABlab(41.51, 49.97, -26.92)
CIE-LCHlch(41.51, 56.76, 331.68°)
OKLaboklab(51.67% 0.1436 -0.0735)
OKLCHoklch(51.67% 0.161 332.9)
XYZxyz(20.0914, 12.1849, 27.2750)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3C8F #3C9B48
analogous
#783C9B #9B3C8F #9B3C60
triadic
#9B3C8F #8F9B3C #3C8F9B
tetradic
#9B3C8F #9B783C #3C9B48 #3C609B
square
#9B3C8F #9B783C #3C9B48 #3C609B
split-complementary
#9B3C8F #609B3C #3C9B78
monochromatic
#431A3E #6F2B66 #9B3C8F #BE56B1 #CF83C5

Accessibility & contrast

On white

6.11
#9B3C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9B3C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3C8F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3C8F#FFFFFF#000000##FFFFFF
##9B3C8F1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395992
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#A24360
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b3c8f;
/* rgb */ color: rgb(155, 60, 143);
/* oklch */ color: oklch(51.7% 0.161 332.9);
Tailwind
colors: {
  custom: {
    50: '#bb78b0',
    500: '#9b3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9b3c8f;
$custom-light: #bb78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3c8f",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 307.579,
    "s": 44.186,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51667,
    "c": 0.16136,
    "h": 332.9
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#9B3C8F
secondary
#7AB982
accent
#D46454
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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