#9B3EB5#9B3EB5

#9B3EB5 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.0% C 0.192 H 318.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9B3EB5
RGBrgb(155, 62, 181)
HSLhsl(287, 49%, 48%)
HSVhsv(287, 66%, 71%)
CMYKcmyk(14.4%, 65.7%, 0%, 29%)
CIE-LABlab(43.87, 56.10, -45.88)
CIE-LCHlch(43.87, 72.47, 320.72°)
OKLaboklab(54.05% 0.1433 -0.1285)
OKLCHoklch(54.05% 0.192 318.1)
XYZxyz(23.5795, 13.7510, 45.1193)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EB5 #58B53E
analogous
#603EB5 #9B3EB5 #B53E93
triadic
#9B3EB5 #B59B3E #3EB59B
tetradic
#9B3EB5 #B5603E #58B53E #3E93B5
square
#9B3EB5 #B5603E #58B53E #3E93B5
split-complementary
#9B3EB5 #93B53E #3EB560
monochromatic
#4D1F5A #742E87 #9B3EB5 #B466CA #CB93DA

Accessibility & contrast

On white

5.60
#9B3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9B3EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EB5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EB5#FFFFFF#000000##FFFFFF
##9B3EB51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1262B9
Deuteranopia (green-blind)
#436BB2
Tritanopia (blue-blind)
#9A5374
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3eb5;
/* rgb */ color: rgb(155, 62, 181);
/* oklch */ color: oklch(54.0% 0.192 318.1);
Tailwind
colors: {
  custom: {
    50: '#bc7acc',
    500: '#9b3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #9b3eb5;
$custom-light: #bc7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3eb5",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 286.891,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.19245,
    "h": 318.1
  },
  "luminance": 0.1375
}

Semantic roles & 50–950 ramp

primary
#9B3EB5
secondary
#96C589
accent
#D94F6D
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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