#9B3EB7#9B3EB7

#9B3EB7 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.194 H 317.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9B3EB7
RGBrgb(155, 62, 183)
HSLhsl(286, 49%, 48%)
HSVhsv(286, 66%, 72%)
CMYKcmyk(15.3%, 66.1%, 0%, 28.2%)
CIE-LABlab(43.99, 56.50, -46.86)
CIE-LCHlch(43.99, 73.40, 320.33°)
OKLaboklab(54.17% 0.1432 -0.1313)
OKLCHoklch(54.17% 0.194 317.5)
XYZxyz(23.7862, 13.8337, 46.2078)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EB7 #5AB73E
analogous
#5F3EB7 #9B3EB7 #B73E96
triadic
#9B3EB7 #B79B3E #3EB79B
tetradic
#9B3EB7 #B75F3E #5AB73E #3E96B7
square
#9B3EB7 #B75F3E #5AB73E #3E96B7
split-complementary
#9B3EB7 #96B73E #3EB75F
monochromatic
#4E1F5C #742F89 #9B3EB7 #B467CB #CB94DB

Accessibility & contrast

On white

5.58
#9B3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B3EB7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EB7#FFFFFF#000000##FFFFFF
##9B3EB71.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C62BB
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#9A5475
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3eb7;
/* rgb */ color: rgb(155, 62, 183);
/* oklch */ color: oklch(54.2% 0.194 317.5);
Tailwind
colors: {
  custom: {
    50: '#bc7acd',
    500: '#9b3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #9b3eb7;
$custom-light: #bc7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3eb7",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 286.116,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.19434,
    "h": 317.5
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#9B3EB7
secondary
#98C68A
accent
#D94F6F
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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