#9B3DBD#9B3DBD

#9B3DBD is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.4% C 0.201 H 315.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9B3DBD
RGBrgb(155, 61, 189)
HSLhsl(284, 51%, 49%)
HSVhsv(284, 68%, 74%)
CMYKcmyk(18%, 67.7%, 0%, 25.9%)
CIE-LABlab(44.21, 58.14, -50.03)
CIE-LCHlch(44.21, 76.70, 319.29°)
OKLaboklab(54.44% 0.1441 -0.1406)
OKLCHoklch(54.44% 0.201 315.7)
XYZxyz(24.3702, 13.9811, 49.5491)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DBD #5FBD3D
analogous
#5B3DBD #9B3DBD #BD3D9F
triadic
#9B3DBD #BD9B3D #3DBD9B
tetradic
#9B3DBD #BD5B3D #5FBD3D #3D9FBD
square
#9B3DBD #BD5B3D #5FBD3D #3D9FBD
split-complementary
#9B3DBD #9FBD3D #3DBD5B
monochromatic
#4F1F60 #752E8F #9B3DBD #B369CE #CB97DD

Accessibility & contrast

On white

5.53
#9B3DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9B3DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DBD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DBD#FFFFFF#000000##FFFFFF
##9B3DBD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b3dbd;
/* rgb */ color: rgb(155, 61, 189);
/* oklch */ color: oklch(54.4% 0.201 315.7);
Tailwind
colors: {
  custom: {
    50: '#bc7ad1',
    500: '#9b3dbd',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dbd;
$custom-light: #bc7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dbd",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 189
  },
  "hsl": {
    "h": 284.063,
    "s": 51.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54441,
    "c": 0.20133,
    "h": 315.7
  },
  "luminance": 0.1398
}

Semantic roles & 50–950 ramp

primary
#9B3DBD
secondary
#9DC98D
accent
#DB4D73
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B3DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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