#9B3DBE#9B3DBE

#9B3DBE is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.5% C 0.202 H 315.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9B3DBE
RGBrgb(155, 61, 190)
HSLhsl(284, 51%, 49%)
HSVhsv(284, 68%, 75%)
CMYKcmyk(18.4%, 67.9%, 0%, 25.5%)
CIE-LABlab(44.27, 58.34, -50.52)
CIE-LCHlch(44.27, 77.17, 319.11°)
OKLaboklab(54.51% 0.144 -0.142)
OKLCHoklch(54.51% 0.202 315.4)
XYZxyz(24.4791, 14.0246, 50.1228)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3DBE #60BE3D
analogous
#5B3DBE #9B3DBE #BE3DA1
triadic
#9B3DBE #BE9B3D #3DBE9B
tetradic
#9B3DBE #BE5B3D #60BE3D #3DA1BE
square
#9B3DBE #BE5B3D #60BE3D #3DA1BE
split-complementary
#9B3DBE #A1BE3D #3DBE5B
monochromatic
#4F1F61 #752E90 #9B3DBE #B369CF #CB98DE

Accessibility & contrast

On white

5.52
#9B3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B3DBE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3DBE#FFFFFF#000000##FFFFFF
##9B3DBE1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#985679
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b3dbe;
/* rgb */ color: rgb(155, 61, 190);
/* oklch */ color: oklch(54.5% 0.202 315.4);
Tailwind
colors: {
  custom: {
    50: '#bc7ad2',
    500: '#9b3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #9b3dbe;
$custom-light: #bc7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3dbe",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 283.721,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54505,
    "c": 0.20228,
    "h": 315.4
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#9B3DBE
secondary
#9EC98D
accent
#DB4D73
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9B3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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