#9B3DB5#9B3DB5

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

Color values

HEX#9B3DB5
RGBrgb(155, 61, 181)
HSLhsl(287, 50%, 47%)
HSVhsv(287, 66%, 71%)
CMYKcmyk(14.4%, 66.3%, 0%, 29%)
CIE-LABlab(43.72, 56.53, -46.13)
CIE-LCHlch(43.72, 72.96, 320.79°)
OKLaboklab(53.93% 0.1444 -0.1292)
OKLCHoklch(53.93% 0.194 318.2)
XYZxyz(23.5257, 13.6433, 45.1013)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DB5 #57B53D
analogous
#5F3DB5 #9B3DB5 #B53D93
triadic
#9B3DB5 #B59B3D #3DB59B
tetradic
#9B3DB5 #B55F3D #57B53D #3D93B5
square
#9B3DB5 #B55F3D #57B53D #3D93B5
split-complementary
#9B3DB5 #93B53D #3DB55F
monochromatic
#4D1E59 #742E87 #9B3DB5 #B564CB #CB92DA

Accessibility & contrast

On white

5.63
#9B3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9B3DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DB5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DB5#FFFFFF#000000##FFFFFF
##9B3DB51.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B9
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#9A5374
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3db5;
/* rgb */ color: rgb(155, 61, 181);
/* oklch */ color: oklch(53.9% 0.194 318.2);
Tailwind
colors: {
  custom: {
    50: '#bc79cc',
    500: '#9b3db5',
    950: '#000000',
  },
}
SCSS
$custom: #9b3db5;
$custom-light: #bc79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3db5",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 287,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.19379,
    "h": 318.2
  },
  "luminance": 0.13642
}

Semantic roles & 50–950 ramp

primary
#9B3DB5
secondary
#96C588
accent
#D94F6D
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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