#9B4E95#9B4E95

#9B4E95 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.4% C 0.137 H 330.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9B4E95
RGBrgb(155, 78, 149)
HSLhsl(305, 33%, 46%)
HSVhsv(305, 50%, 61%)
CMYKcmyk(0%, 49.7%, 3.9%, 39.2%)
CIE-LABlab(45.07, 42.22, -25.00)
CIE-LCHlch(45.07, 49.07, 329.37°)
OKLaboklab(54.38% 0.1193 -0.0682)
OKLCHoklch(54.38% 0.137 330.2)
XYZxyz(21.6666, 14.5885, 30.1026)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E95 #4E9B54
analogous
#7A4E9B #9B4E95 #9B4E6E
triadic
#9B4E95 #959B4E #4E959B
tetradic
#9B4E95 #9B7A4E #4E9B54 #4E6E9B
square
#9B4E95 #9B7A4E #4E9B54 #4E6E9B
split-complementary
#9B4E95 #6E9B4E #4E9B7A
monochromatic
#4A2547 #723A6E #9B4E95 #B76FB1 #CB98C7

Accessibility & contrast

On white

5.36
#9B4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9B4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4E95
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4E95#FFFFFF#000000##FFFFFF
##9B4E951.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6497
Deuteranopia (green-blind)
#606E93
Tritanopia (blue-blind)
#A0546A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9b4e95;
/* rgb */ color: rgb(155, 78, 149);
/* oklch */ color: oklch(54.4% 0.137 330.2);
Tailwind
colors: {
  custom: {
    50: '#ba83b4',
    500: '#9b4e95',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e95;
$custom-light: #ba83b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e95",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 304.675,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.13744,
    "h": 330.2
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#9B4E95
secondary
#8DB890
accent
#C9675F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9B4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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