#9B3DBC#9B3DBC

#9B3DBC is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.200 H 316.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9B3DBC
RGBrgb(155, 61, 188)
HSLhsl(284, 51%, 49%)
HSVhsv(284, 68%, 74%)
CMYKcmyk(17.6%, 67.6%, 0%, 26.3%)
CIE-LABlab(44.14, 57.94, -49.55)
CIE-LCHlch(44.14, 76.23, 319.46°)
OKLaboklab(54.38% 0.1441 -0.1392)
OKLCHoklch(54.38% 0.2 316)
XYZxyz(24.2620, 13.9378, 48.9794)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DBC #5EBC3D
analogous
#5B3DBC #9B3DBC #BC3D9E
triadic
#9B3DBC #BC9B3D #3DBC9B
tetradic
#9B3DBC #BC5B3D #5EBC3D #3D9EBC
square
#9B3DBC #BC5B3D #5EBC3D #3D9EBC
split-complementary
#9B3DBC #9EBC3D #3DBC5B
monochromatic
#4F1F60 #752E8E #9B3DBC #B468CE #CB96DD

Accessibility & contrast

On white

5.54
#9B3DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9B3DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DBC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DBC#FFFFFF#000000##FFFFFF
##9B3DBC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#995678
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3dbc;
/* rgb */ color: rgb(155, 61, 188);
/* oklch */ color: oklch(54.4% 0.200 316.0);
Tailwind
colors: {
  custom: {
    50: '#bc7ad1',
    500: '#9b3dbc',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dbc;
$custom-light: #bc7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dbc",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 284.409,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.20038,
    "h": 316
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#9B3DBC
secondary
#9CC98C
accent
#DA4D72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B3DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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