#9B3EB2#9B3EB2

#9B3EB2 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.9% C 0.190 H 319.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9B3EB2
RGBrgb(155, 62, 178)
HSLhsl(288, 48%, 47%)
HSVhsv(288, 65%, 70%)
CMYKcmyk(12.9%, 65.2%, 0%, 30.2%)
CIE-LABlab(43.70, 55.50, -44.39)
CIE-LCHlch(43.70, 71.07, 321.35°)
OKLaboklab(53.86% 0.1433 -0.1241)
OKLCHoklch(53.86% 0.19 319.1)
XYZxyz(23.2750, 13.6292, 43.5155)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3EB2 #55B23E
analogous
#613EB2 #9B3EB2 #B23E8F
triadic
#9B3EB2 #B29B3E #3EB29B
tetradic
#9B3EB2 #B2613E #55B23E #3E8FB2
square
#9B3EB2 #B2613E #55B23E #3E8FB2
split-complementary
#9B3EB2 #8FB23E #3EB261
monochromatic
#4C1E57 #732E85 #9B3EB2 #B564C9 #CB92D9

Accessibility & contrast

On white

5.64
#9B3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9B3EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3EB2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3EB2#FFFFFF#000000##FFFFFF
##9B3EB21.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b3eb2;
/* rgb */ color: rgb(155, 62, 178);
/* oklch */ color: oklch(53.9% 0.190 319.1);
Tailwind
colors: {
  custom: {
    50: '#bc7ac9',
    500: '#9b3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3eb2;
$custom-light: #bc7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3eb2",
  "rgb": {
    "r": 155,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 288.103,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.18962,
    "h": 319.1
  },
  "luminance": 0.13628
}

Semantic roles & 50–950 ramp

primary
#9B3EB2
secondary
#94C488
accent
#D8506B
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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