#9B4E98#9B4E98

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

Color values

HEX#9B4E98
RGBrgb(155, 78, 152)
HSLhsl(302, 33%, 46%)
HSVhsv(302, 50%, 61%)
CMYKcmyk(0%, 49.7%, 1.9%, 39.2%)
CIE-LABlab(45.20, 42.78, -26.59)
CIE-LCHlch(45.20, 50.37, 328.14°)
OKLaboklab(54.52% 0.1199 -0.0727)
OKLCHoklch(54.52% 0.14 328.7)
XYZxyz(21.9092, 14.6856, 31.3803)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E98 #4E9B51
analogous
#774E9B #9B4E98 #9B4E71
triadic
#9B4E98 #989B4E #4E989B
tetradic
#9B4E98 #9B774E #4E9B51 #4E719B
square
#9B4E98 #9B774E #4E9B51 #4E719B
split-complementary
#9B4E98 #719B4E #4E9B77
monochromatic
#4A2548 #723A70 #9B4E98 #B76FB4 #CB98C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B4E98#FFFFFF#000000##FFFFFF
##9B4E981.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)
#49649A
Deuteranopia (green-blind)
#5F6F96
Tritanopia (blue-blind)
#A0556C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b4e98;
/* rgb */ color: rgb(155, 78, 152);
/* oklch */ color: oklch(54.5% 0.140 328.7);
Tailwind
colors: {
  custom: {
    50: '#ba83b6',
    500: '#9b4e98',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e98;
$custom-light: #ba83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e98",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 302.338,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54522,
    "c": 0.14023,
    "h": 328.7
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#9B4E98
secondary
#8DB88F
accent
#C9635F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9B4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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