#9B4CB2#9B4CB2

#9B4CB2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.6% C 0.169 H 318.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9B4CB2
RGBrgb(155, 76, 178)
HSLhsl(286, 40%, 50%)
HSVhsv(286, 57%, 70%)
CMYKcmyk(12.9%, 57.3%, 0%, 30.2%)
CIE-LABlab(46.11, 48.90, -40.55)
CIE-LCHlch(46.11, 63.52, 320.33°)
OKLaboklab(55.62% 0.1258 -0.113)
OKLCHoklch(55.62% 0.169 318.1)
XYZxyz(24.1368, 15.3527, 43.8028)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CB2 #63B24C
analogous
#684CB2 #9B4CB2 #B24C96
triadic
#9B4CB2 #B29B4C #4CB29B
tetradic
#9B4CB2 #B2684C #63B24C #4C96B2
square
#9B4CB2 #B2684C #63B24C #4C96B2
split-complementary
#9B4CB2 #96B24C #4CB268
monochromatic
#50275C #763A87 #9B4CB2 #B376C5 #CBA1D7

Accessibility & contrast

On white

5.16
#9B4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9B4CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CB2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CB2#FFFFFF#000000##FFFFFF
##9B4CB21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5070AF
Tritanopia (blue-blind)
#9B5C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b4cb2;
/* rgb */ color: rgb(155, 76, 178);
/* oklch */ color: oklch(55.6% 0.169 318.1);
Tailwind
colors: {
  custom: {
    50: '#bb82c9',
    500: '#9b4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cb2;
$custom-light: #bb82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cb2",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 286.471,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.16915,
    "h": 318.1
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#9B4CB2
secondary
#A0C496
accent
#D05873
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9B4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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