#9B3CB7#9B3CB7

#9B3CB7 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.9% C 0.197 H 317.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9B3CB7
RGBrgb(155, 60, 183)
HSLhsl(286, 51%, 48%)
HSVhsv(286, 67%, 72%)
CMYKcmyk(15.3%, 67.2%, 0%, 28.2%)
CIE-LABlab(43.68, 57.36, -47.36)
CIE-LCHlch(43.68, 74.38, 320.46°)
OKLaboklab(53.95% 0.1455 -0.1328)
OKLCHoklch(53.95% 0.197 317.6)
XYZxyz(23.6795, 13.6202, 46.1722)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CB7 #58B73C
analogous
#5D3CB7 #9B3CB7 #B73C96
triadic
#9B3CB7 #B79B3C #3CB79B
tetradic
#9B3CB7 #B75D3C #58B73C #3C96B7
square
#9B3CB7 #B75D3C #58B73C #3C96B7
split-complementary
#9B3CB7 #96B73C #3CB75D
monochromatic
#4D1E5B #742D89 #9B3CB7 #B464CC #CB92DB

Accessibility & contrast

On white

5.64
#9B3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9B3CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CB7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CB7#FFFFFF#000000##FFFFFF
##9B3CB71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0261BB
Deuteranopia (green-blind)
#406AB4
Tritanopia (blue-blind)
#9A5375
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3cb7;
/* rgb */ color: rgb(155, 60, 183);
/* oklch */ color: oklch(53.9% 0.197 317.6);
Tailwind
colors: {
  custom: {
    50: '#bc79cd',
    500: '#9b3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cb7;
$custom-light: #bc79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cb7",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 286.341,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.19698,
    "h": 317.6
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#9B3CB7
secondary
#96C688
accent
#DA4E6E
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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