#9B3FB5#9B3FB5

#9B3FB5 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.191 H 318.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9B3FB5
RGBrgb(155, 63, 181)
HSLhsl(287, 48%, 48%)
HSVhsv(287, 65%, 71%)
CMYKcmyk(14.4%, 65.2%, 0%, 29%)
CIE-LABlab(44.03, 55.66, -45.62)
CIE-LCHlch(44.03, 71.96, 320.66°)
OKLaboklab(54.16% 0.1421 -0.1277)
OKLCHoklch(54.16% 0.191 318.1)
XYZxyz(23.6344, 13.8608, 45.1376)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FB5 #59B53F
analogous
#603FB5 #9B3FB5 #B53F94
triadic
#9B3FB5 #B59B3F #3FB59B
tetradic
#9B3FB5 #B5603F #59B53F #3F94B5
square
#9B3FB5 #B5603F #59B53F #3F94B5
split-complementary
#9B3FB5 #94B53F #3FB560
monochromatic
#4D1F5A #742F88 #9B3FB5 #B467CA #CB94DA

Accessibility & contrast

On white

5.57
#9B3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9B3FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FB5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FB5#FFFFFF#000000##FFFFFF
##9B3FB51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1562B9
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#9A5475
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3fb5;
/* rgb */ color: rgb(155, 63, 181);
/* oklch */ color: oklch(54.2% 0.191 318.1);
Tailwind
colors: {
  custom: {
    50: '#bc7bcc',
    500: '#9b3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fb5;
$custom-light: #bc7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fb5",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 286.78,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.1911,
    "h": 318.1
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#9B3FB5
secondary
#97C58A
accent
#D8506E
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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