#9B3BC8#9B3BC8

#9B3BC8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.214 H 312.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9B3BC8
RGBrgb(155, 59, 200)
HSLhsl(281, 56%, 51%)
HSVhsv(281, 71%, 78%)
CMYKcmyk(22.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(44.61, 61.23, -55.77)
CIE-LCHlch(44.61, 82.83, 317.67°)
OKLaboklab(54.96% 0.1452 -0.1575)
OKLCHoklch(54.96% 0.214 312.7)
XYZxyz(25.5050, 14.2674, 56.0427)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BC8 #68C83B
analogous
#543BC8 #9B3BC8 #C83BAE
triadic
#9B3BC8 #C89B3B #3BC89B
tetradic
#9B3BC8 #C8543B #68C83B #3BAEC8
square
#9B3BC8 #C8543B #68C83B #3BAEC8
split-complementary
#9B3BC8 #AEC83B #3BC854
monochromatic
#521E6B #772B9A #9B3BC8 #B36BD5 #CC9BE3

Accessibility & contrast

On white

5.45
#9B3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9B3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BC8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BC8#FFFFFF#000000##FFFFFF
##9B3BC81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#2D6CC5
Tritanopia (blue-blind)
#96597E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b3bc8;
/* rgb */ color: rgb(155, 59, 200);
/* oklch */ color: oklch(55.0% 0.214 312.7);
Tailwind
colors: {
  custom: {
    50: '#bd79d9',
    500: '#9b3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bc8;
$custom-light: #bd79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bc8",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 280.851,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54958,
    "c": 0.21421,
    "h": 312.7
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#9B3BC8
secondary
#A4CF90
accent
#DF4879
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9B3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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