#9B3CB5#9B3CB5

#9B3CB5 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.195 H 318.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9B3CB5
RGBrgb(155, 60, 181)
HSLhsl(287, 50%, 47%)
HSVhsv(287, 67%, 71%)
CMYKcmyk(14.4%, 66.9%, 0%, 29%)
CIE-LABlab(43.56, 56.96, -46.37)
CIE-LCHlch(43.56, 73.45, 320.85°)
OKLaboklab(53.82% 0.1456 -0.1299)
OKLCHoklch(53.82% 0.195 318.3)
XYZxyz(23.4728, 13.5375, 45.0837)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CB5 #56B53C
analogous
#5E3CB5 #9B3CB5 #B53C93
triadic
#9B3CB5 #B59B3C #3CB59B
tetradic
#9B3CB5 #B55E3C #56B53C #3C93B5
square
#9B3CB5 #B55E3C #56B53C #3C93B5
split-complementary
#9B3CB5 #93B53C #3CB55E
monochromatic
#4C1E59 #742D87 #9B3CB5 #B563CB #CB91DB

Accessibility & contrast

On white

5.66
#9B3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9B3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CB5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CB5#FFFFFF#000000##FFFFFF
##9B3CB51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0961B9
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#9B5274
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3cb5;
/* rgb */ color: rgb(155, 60, 181);
/* oklch */ color: oklch(53.8% 0.195 318.3);
Tailwind
colors: {
  custom: {
    50: '#bc79cc',
    500: '#9b3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cb5;
$custom-light: #bc79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cb5",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 287.107,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.19511,
    "h": 318.3
  },
  "luminance": 0.13536
}

Semantic roles & 50–950 ramp

primary
#9B3CB5
secondary
#95C687
accent
#DA4E6C
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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