#9B3BCB#9B3BCB

#9B3BCB is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.217 H 311.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9B3BCB
RGBrgb(155, 59, 203)
HSLhsl(280, 58%, 51%)
HSVhsv(280, 71%, 80%)
CMYKcmyk(23.6%, 70.9%, 0%, 20.4%)
CIE-LABlab(44.81, 61.86, -57.19)
CIE-LCHlch(44.81, 84.24, 317.25°)
OKLaboklab(55.16% 0.1449 -0.1616)
OKLCHoklch(55.16% 0.217 311.9)
XYZxyz(25.8590, 14.4090, 57.9073)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3BCB #6BCB3B
analogous
#533BCB #9B3BCB #CB3BB3
triadic
#9B3BCB #CB9B3B #3BCB9B
tetradic
#9B3BCB #CB533B #6BCB3B #3BB3CB
square
#9B3BCB #CB533B #6BCB3B #3BB3CB
split-complementary
#9B3BCB #B3CB3B #3BCB53
monochromatic
#531D6E #782A9F #9B3BCB #B46BD8 #CC9CE5

Accessibility & contrast

On white

5.41
#9B3BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9B3BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3BCB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3BCB#FFFFFF#000000##FFFFFF
##9B3BCB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#955A7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b3bcb;
/* rgb */ color: rgb(155, 59, 203);
/* oklch */ color: oklch(55.2% 0.217 311.9);
Tailwind
colors: {
  custom: {
    50: '#bd79dc',
    500: '#9b3bcb',
    950: '#000000',
  },
}
SCSS
$custom: #9b3bcb;
$custom-light: #bd79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3bcb",
  "rgb": {
    "r": 155,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 280,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.21704,
    "h": 311.9
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#9B3BCB
secondary
#A6D191
accent
#E1477A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9B3BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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