#9B3DB7#9B3DB7

#9B3DB7 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.196 H 317.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9B3DB7
RGBrgb(155, 61, 183)
HSLhsl(286, 50%, 48%)
HSVhsv(286, 67%, 72%)
CMYKcmyk(15.3%, 66.7%, 0%, 28.2%)
CIE-LABlab(43.84, 56.93, -47.11)
CIE-LCHlch(43.84, 73.89, 320.39°)
OKLaboklab(54.06% 0.1444 -0.1321)
OKLCHoklch(54.06% 0.196 317.5)
XYZxyz(23.7323, 13.7259, 46.1898)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DB7 #59B73D
analogous
#5E3DB7 #9B3DB7 #B73D96
triadic
#9B3DB7 #B79B3D #3DB79B
tetradic
#9B3DB7 #B75E3D #59B73D #3D96B7
square
#9B3DB7 #B75E3D #59B73D #3D96B7
split-complementary
#9B3DB7 #96B73D #3DB75E
monochromatic
#4D1E5B #742E89 #9B3DB7 #B465CC #CB93DB

Accessibility & contrast

On white

5.61
#9B3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9B3DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DB7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DB7#FFFFFF#000000##FFFFFF
##9B3DB71.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0762BB
Deuteranopia (green-blind)
#416BB4
Tritanopia (blue-blind)
#9A5475
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3db7;
/* rgb */ color: rgb(155, 61, 183);
/* oklch */ color: oklch(54.1% 0.196 317.5);
Tailwind
colors: {
  custom: {
    50: '#bc7acd',
    500: '#9b3db7',
    950: '#000000',
  },
}
SCSS
$custom: #9b3db7;
$custom-light: #bc7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3db7",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 286.23,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.19567,
    "h": 317.5
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#9B3DB7
secondary
#97C689
accent
#DA4E6E
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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