#9B4BB2#9B4BB2

#9B4BB2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.5% C 0.171 H 318.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9B4BB2
RGBrgb(155, 75, 178)
HSLhsl(287, 41%, 50%)
HSVhsv(287, 58%, 70%)
CMYKcmyk(12.9%, 57.9%, 0%, 30.2%)
CIE-LABlab(45.93, 49.40, -40.84)
CIE-LCHlch(45.93, 64.09, 320.41°)
OKLaboklab(55.48% 0.1272 -0.1139)
OKLCHoklch(55.48% 0.171 318.2)
XYZxyz(24.0684, 15.2160, 43.7800)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BB2 #62B24B
analogous
#684BB2 #9B4BB2 #B24B96
triadic
#9B4BB2 #B29B4B #4BB29B
tetradic
#9B4BB2 #B2684B #62B24B #4B96B2
square
#9B4BB2 #B2684B #62B24B #4B96B2
split-complementary
#9B4BB2 #96B24B #4BB268
monochromatic
#50275C #763987 #9B4BB2 #B375C5 #CBA0D7

Accessibility & contrast

On white

5.19
#9B4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9B4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4BB2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4BB2#FFFFFF#000000##FFFFFF
##9B4BB21.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B5
Deuteranopia (green-blind)
#506FAF
Tritanopia (blue-blind)
#9B5B77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b4bb2;
/* rgb */ color: rgb(155, 75, 178);
/* oklch */ color: oklch(55.5% 0.171 318.2);
Tailwind
colors: {
  custom: {
    50: '#bb81c9',
    500: '#9b4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9b4bb2;
$custom-light: #bb81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4bb2",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 286.602,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55481,
    "c": 0.1707,
    "h": 318.2
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#9B4BB2
secondary
#9FC495
accent
#D15772
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9B4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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