#9B4E99#9B4E99

#9B4E99 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.6% C 0.141 H 328.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9B4E99
RGBrgb(155, 78, 153)
HSLhsl(302, 33%, 46%)
HSVhsv(302, 50%, 61%)
CMYKcmyk(0%, 49.7%, 1.3%, 39.2%)
CIE-LABlab(45.25, 42.96, -27.12)
CIE-LCHlch(45.25, 50.80, 327.74°)
OKLaboklab(54.57% 0.1201 -0.0743)
OKLCHoklch(54.57% 0.141 328.3)
XYZxyz(21.9914, 14.7185, 31.8134)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E99 #4E9B50
analogous
#764E9B #9B4E99 #9B4E72
triadic
#9B4E99 #999B4E #4E999B
tetradic
#9B4E99 #9B764E #4E9B50 #4E729B
square
#9B4E99 #9B764E #4E9B50 #4E729B
split-complementary
#9B4E99 #729B4E #4E9B76
monochromatic
#4A2549 #723A71 #9B4E99 #B76FB5 #CB98CA

Accessibility & contrast

On white

5.33
#9B4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9B4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4E99
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4E99#FFFFFF#000000##FFFFFF
##9B4E991.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48659C
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#9F566C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b4e99;
/* rgb */ color: rgb(155, 78, 153);
/* oklch */ color: oklch(54.6% 0.141 328.3);
Tailwind
colors: {
  custom: {
    50: '#ba83b7',
    500: '#9b4e99',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e99;
$custom-light: #ba83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e99",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 301.558,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54571,
    "c": 0.14117,
    "h": 328.3
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#9B4E99
secondary
#8DB88E
accent
#C9615F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9B4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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