#9B4CBC#9B4CBC

#9B4CBC is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.2% C 0.179 H 314.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9B4CBC
RGBrgb(155, 76, 188)
HSLhsl(282, 46%, 52%)
HSVhsv(282, 60%, 74%)
CMYKcmyk(17.6%, 59.6%, 0%, 26.3%)
CIE-LABlab(46.67, 50.99, -45.51)
CIE-LCHlch(46.67, 68.34, 318.25°)
OKLaboklab(56.2% 0.1263 -0.1275)
OKLCHoklch(56.2% 0.179 314.7)
XYZxyz(25.1776, 15.7691, 49.2847)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CBC #6DBC4C
analogous
#634CBC #9B4CBC #BC4CA5
triadic
#9B4CBC #BC9B4C #4CBC9B
tetradic
#9B4CBC #BC634C #6DBC4C #4CA5BC
square
#9B4CBC #BC634C #6DBC4C #4CA5BC
split-complementary
#9B4CBC #A5BC4C #4CBC63
monochromatic
#542767 #783794 #9B4CBC #B479CD #CDA5DD

Accessibility & contrast

On white

5.06
#9B4CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9B4CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4CBC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CBC#FFFFFF#000000##FFFFFF
##9B4CBC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6AC0
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#98607D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b4cbc;
/* rgb */ color: rgb(155, 76, 188);
/* oklch */ color: oklch(56.2% 0.179 314.7);
Tailwind
colors: {
  custom: {
    50: '#bb82d1',
    500: '#9b4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #9b4cbc;
$custom-light: #bb82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4cbc",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 282.321,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56203,
    "c": 0.17943,
    "h": 314.7
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#9B4CBC
secondary
#A8CA99
accent
#D55379
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9B4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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