#9B4CBB#9B4CBB

#9B4CBB is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.1% C 0.178 H 315.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9B4CBB
RGBrgb(155, 76, 187)
HSLhsl(283, 45%, 52%)
HSVhsv(283, 59%, 73%)
CMYKcmyk(17.1%, 59.4%, 0%, 26.7%)
CIE-LABlab(46.61, 50.77, -45.02)
CIE-LCHlch(46.61, 67.86, 318.44°)
OKLaboklab(56.14% 0.1262 -0.126)
OKLCHoklch(56.14% 0.178 315)
XYZxyz(25.0702, 15.7261, 48.7189)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CBB #6CBB4C
analogous
#644CBB #9B4CBB #BB4CA3
triadic
#9B4CBB #BB9B4C #4CBB9B
tetradic
#9B4CBB #BB644C #6CBB4C #4CA3BB
square
#9B4CBB #BB644C #6CBB4C #4CA3BB
split-complementary
#9B4CBB #A3BB4C #4CBB64
monochromatic
#542766 #783892 #9B4CBB #B478CC #CDA5DD

Accessibility & contrast

On white

5.07
#9B4CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9B4CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CBB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CBB#FFFFFF#000000##FFFFFF
##9B4CBB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#4A71B8
Tritanopia (blue-blind)
#995F7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b4cbb;
/* rgb */ color: rgb(155, 76, 187);
/* oklch */ color: oklch(56.1% 0.178 315.0);
Tailwind
colors: {
  custom: {
    50: '#bb82d0',
    500: '#9b4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cbb;
$custom-light: #bb82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cbb",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 282.703,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.1784,
    "h": 315
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#9B4CBB
secondary
#A7CA99
accent
#D55378
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9B4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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