#9B3DB2#9B3DB2

#9B3DB2 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.191 H 319.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9B3DB2
RGBrgb(155, 61, 178)
HSLhsl(288, 49%, 47%)
HSVhsv(288, 66%, 70%)
CMYKcmyk(12.9%, 65.7%, 0%, 30.2%)
CIE-LABlab(43.54, 55.94, -44.65)
CIE-LCHlch(43.54, 71.57, 321.41°)
OKLaboklab(53.75% 0.1445 -0.1249)
OKLCHoklch(53.75% 0.191 319.2)
XYZxyz(23.2211, 13.5215, 43.4976)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DB2 #54B23D
analogous
#613DB2 #9B3DB2 #B23D8F
triadic
#9B3DB2 #B29B3D #3DB29B
tetradic
#9B3DB2 #B2613D #54B23D #3D8FB2
square
#9B3DB2 #B2613D #54B23D #3D8FB2
split-complementary
#9B3DB2 #8FB23D #3DB261
monochromatic
#4C1E57 #732D84 #9B3DB2 #B563C9 #CB90D9

Accessibility & contrast

On white

5.67
#9B3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9B3DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3DB2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DB2#FFFFFF#000000##FFFFFF
##9B3DB21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B5
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#9B5272
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3db2;
/* rgb */ color: rgb(155, 61, 178);
/* oklch */ color: oklch(53.7% 0.191 319.2);
Tailwind
colors: {
  custom: {
    50: '#bc79c9',
    500: '#9b3db2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3db2;
$custom-light: #bc79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3db2",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 288.205,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.19098,
    "h": 319.2
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

primary
#9B3DB2
secondary
#93C487
accent
#D94F6A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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