#9B3DBA#9B3DBA

#9B3DBA is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.198 H 316.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9B3DBA
RGBrgb(155, 61, 186)
HSLhsl(285, 51%, 48%)
HSVhsv(285, 67%, 73%)
CMYKcmyk(16.7%, 67.2%, 0%, 27.1%)
CIE-LABlab(44.02, 57.53, -48.57)
CIE-LCHlch(44.02, 75.30, 319.83°)
OKLaboklab(54.25% 0.1442 -0.1364)
OKLCHoklch(54.25% 0.198 316.6)
XYZxyz(24.0479, 13.8522, 47.8518)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DBA #5CBA3D
analogous
#5C3DBA #9B3DBA #BA3D9A
triadic
#9B3DBA #BA9B3D #3DBA9B
tetradic
#9B3DBA #BA5C3D #5CBA3D #3D9ABA
square
#9B3DBA #BA5C3D #5CBA3D #3D9ABA
split-complementary
#9B3DBA #9ABA3D #3DBA5C
monochromatic
#4E1F5E #752E8C #9B3DBA #B467CD #CB95DC

Accessibility & contrast

On white

5.57
#9B3DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9B3DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DBA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DBA#FFFFFF#000000##FFFFFF
##9B3DBA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#3E6BB7
Tritanopia (blue-blind)
#995577
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3dba;
/* rgb */ color: rgb(155, 61, 186);
/* oklch */ color: oklch(54.2% 0.198 316.6);
Tailwind
colors: {
  custom: {
    50: '#bc7acf',
    500: '#9b3dba',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dba;
$custom-light: #bc7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dba",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 285.12,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.19849,
    "h": 316.6
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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