#9B3CBB#9B3CBB

#9B3CBB is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.2% C 0.201 H 316.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9B3CBB
RGBrgb(155, 60, 187)
HSLhsl(285, 51%, 48%)
HSVhsv(285, 68%, 73%)
CMYKcmyk(17.1%, 67.9%, 0%, 26.7%)
CIE-LABlab(43.93, 58.16, -49.31)
CIE-LCHlch(43.93, 76.25, 319.71°)
OKLaboklab(54.2% 0.1453 -0.1385)
OKLCHoklch(54.2% 0.201 316.4)
XYZxyz(24.1017, 13.7891, 48.3961)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CBB #5CBB3C
analogous
#5B3CBB #9B3CBB #BB3C9B
triadic
#9B3CBB #BB9B3C #3CBB9B
tetradic
#9B3CBB #BB5B3C #5CBB3C #3C9BBB
square
#9B3CBB #BB5B3C #5CBB3C #3C9BBB
split-complementary
#9B3CBB #9BBB3C #3CBB5B
monochromatic
#4E1E5E #752D8D #9B3CBB #B466CE #CB95DD

Accessibility & contrast

On white

5.59
#9B3CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9B3CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CBB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CBB#FFFFFF#000000##FFFFFF
##9B3CBB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#995477
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3cbb;
/* rgb */ color: rgb(155, 60, 187);
/* oklch */ color: oklch(54.2% 0.201 316.4);
Tailwind
colors: {
  custom: {
    50: '#bc79d0',
    500: '#9b3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cbb;
$custom-light: #bc79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cbb",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 284.882,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.20073,
    "h": 316.4
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#9B3CBB
secondary
#9AC88B
accent
#DB4D71
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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