#9B4792#9B4792

#9B4792 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.2% C 0.147 H 331.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9B4792
RGBrgb(155, 71, 146)
HSLhsl(306, 37%, 44%)
HSVhsv(306, 54%, 61%)
CMYKcmyk(0%, 54.2%, 5.8%, 39.2%)
CIE-LABlab(43.58, 45.25, -25.51)
CIE-LCHlch(43.58, 51.94, 330.59°)
OKLaboklab(53.24% 0.129 -0.0696)
OKLCHoklch(53.24% 0.147 331.6)
XYZxyz(20.9590, 13.5517, 28.7004)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4792 #479B50
analogous
#7A479B #9B4792 #9B4768
triadic
#9B4792 #929B47 #47929B
tetradic
#9B4792 #9B7A47 #479B50 #47689B
square
#9B4792 #9B7A47 #479B50 #47689B
split-complementary
#9B4792 #689B47 #479B7A
monochromatic
#472143 #71346A #9B4792 #B966B0 #CC90C6

Accessibility & contrast

On white

5.66
#9B4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9B4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4792
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4792#FFFFFF#000000##FFFFFF
##9B47921.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F94
Deuteranopia (green-blind)
#5D6B90
Tritanopia (blue-blind)
#A14E66
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b4792;
/* rgb */ color: rgb(155, 71, 146);
/* oklch */ color: oklch(53.2% 0.147 331.6);
Tailwind
colors: {
  custom: {
    50: '#bb7eb2',
    500: '#9b4792',
    950: '#000000',
  },
}
SCSS
$custom: #9b4792;
$custom-light: #bb7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4792",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 306.429,
    "s": 37.168,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53237,
    "c": 0.14655,
    "h": 331.6
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#9B4792
secondary
#86B88B
accent
#CD675B
background
#FBF7FB
surface
#F7EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #9B4792

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

Preview Lab → · Contrast checker → · Palette generator →

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