#9B3DBB#9B3DBB

#9B3DBB is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.199 H 316.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9B3DBB
RGBrgb(155, 61, 187)
HSLhsl(285, 51%, 49%)
HSVhsv(285, 67%, 73%)
CMYKcmyk(17.1%, 67.4%, 0%, 26.7%)
CIE-LABlab(44.08, 57.73, -49.06)
CIE-LCHlch(44.08, 75.76, 319.64°)
OKLaboklab(54.31% 0.1442 -0.1378)
OKLCHoklch(54.31% 0.199 316.3)
XYZxyz(24.1546, 13.8948, 48.4137)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DBB #5DBB3D
analogous
#5C3DBB #9B3DBB #BB3D9C
triadic
#9B3DBB #BB9B3D #3DBB9B
tetradic
#9B3DBB #BB5C3D #5DBB3D #3D9CBB
square
#9B3DBB #BB5C3D #5DBB3D #3D9CBB
split-complementary
#9B3DBB #9CBB3D #3DBB5C
monochromatic
#4E1F5F #752E8D #9B3DBB #B468CE #CB96DD

Accessibility & contrast

On white

5.56
#9B3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9B3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DBB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DBB#FFFFFF#000000##FFFFFF
##9B3DBB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#995577
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3dbb;
/* rgb */ color: rgb(155, 61, 187);
/* oklch */ color: oklch(54.3% 0.199 316.3);
Tailwind
colors: {
  custom: {
    50: '#bc7ad0',
    500: '#9b3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dbb;
$custom-light: #bc7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dbb",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 284.762,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.19944,
    "h": 316.3
  },
  "luminance": 0.13894
}

Semantic roles & 50–950 ramp

primary
#9B3DBB
secondary
#9BC88C
accent
#DA4E71
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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