#9B4E92#9B4E92

#9B4E92 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.2% C 0.135 H 331.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9B4E92
RGBrgb(155, 78, 146)
HSLhsl(307, 33%, 46%)
HSVhsv(307, 50%, 61%)
CMYKcmyk(0%, 49.7%, 5.8%, 39.2%)
CIE-LABlab(44.93, 41.68, -23.41)
CIE-LCHlch(44.93, 47.80, 330.68°)
OKLaboklab(54.24% 0.1187 -0.0637)
OKLCHoklch(54.24% 0.135 331.8)
XYZxyz(21.4301, 14.4940, 28.8574)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E92 #4E9B57
analogous
#7D4E9B #9B4E92 #9B4E6B
triadic
#9B4E92 #929B4E #4E929B
tetradic
#9B4E92 #9B7D4E #4E9B57 #4E6B9B
square
#9B4E92 #9B7D4E #4E9B57 #4E6B9B
split-complementary
#9B4E92 #6B9B4E #4E9B7D
monochromatic
#4A2545 #723A6C #9B4E92 #B76FAE #CB98C5

Accessibility & contrast

On white

5.39
#9B4E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9B4E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4E92
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4E92#FFFFFF#000000##FFFFFF
##9B4E921.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6394
Deuteranopia (green-blind)
#616E90
Tritanopia (blue-blind)
#A15469
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b4e92;
/* rgb */ color: rgb(155, 78, 146);
/* oklch */ color: oklch(54.2% 0.135 331.8);
Tailwind
colors: {
  custom: {
    50: '#ba82b2',
    500: '#9b4e92',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e92;
$custom-light: #ba82b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e92",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 307.013,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.13471,
    "h": 331.8
  },
  "luminance": 0.14493
}

Semantic roles & 50–950 ramp

primary
#9B4E92
secondary
#8DB892
accent
#C96B5F
background
#FBF8FA
surface
#F6EFF5
border
#D0CACF
text
#120B11
muted
#817C80

Preview Lab

Preview with #9B4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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