#9B3CB3#9B3CB3

#9B3CB3 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.193 H 318.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9B3CB3
RGBrgb(155, 60, 179)
HSLhsl(288, 50%, 47%)
HSVhsv(288, 66%, 70%)
CMYKcmyk(13.4%, 66.5%, 0%, 29.8%)
CIE-LABlab(43.44, 56.57, -45.39)
CIE-LCHlch(43.44, 72.53, 321.26°)
OKLaboklab(53.7% 0.1456 -0.127)
OKLCHoklch(53.7% 0.193 318.9)
XYZxyz(23.2690, 13.4560, 44.0107)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3CB3 #54B33C
analogous
#603CB3 #9B3CB3 #B33C90
triadic
#9B3CB3 #B39B3C #3CB39B
tetradic
#9B3CB3 #B3603C #54B33C #3C90B3
square
#9B3CB3 #B3603C #54B33C #3C90B3
split-complementary
#9B3CB3 #90B33C #3CB360
monochromatic
#4C1D57 #732D85 #9B3CB3 #B562CA #CB90DA

Accessibility & contrast

On white

5.69
#9B3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9B3CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3CB3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3CB3#FFFFFF#000000##FFFFFF
##9B3CB31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B7
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#9B5172
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3cb3;
/* rgb */ color: rgb(155, 60, 179);
/* oklch */ color: oklch(53.7% 0.193 318.9);
Tailwind
colors: {
  custom: {
    50: '#bc79ca',
    500: '#9b3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #9b3cb3;
$custom-light: #bc79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3cb3",
  "rgb": {
    "r": 155,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 287.899,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.19325,
    "h": 318.9
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#9B3CB3
secondary
#93C586
accent
#D94E6A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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