#9B4E8F#9B4E8F

#9B4E8F is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.1% C 0.132 H 333.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9B4E8F
RGBrgb(155, 78, 143)
HSLhsl(309, 33%, 46%)
HSVhsv(309, 50%, 61%)
CMYKcmyk(0%, 49.7%, 7.7%, 39.2%)
CIE-LABlab(44.80, 41.14, -21.81)
CIE-LCHlch(44.80, 46.56, 332.07°)
OKLaboklab(54.1% 0.1181 -0.0592)
OKLCHoklch(54.1% 0.132 333.4)
XYZxyz(21.1998, 14.4018, 27.6445)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E8F #4E9B5A
analogous
#804E9B #9B4E8F #9B4E68
triadic
#9B4E8F #8F9B4E #4E8F9B
tetradic
#9B4E8F #9B804E #4E9B5A #4E689B
square
#9B4E8F #9B804E #4E9B5A #4E689B
split-complementary
#9B4E8F #689B4E #4E9B80
monochromatic
#4A2544 #723A69 #9B4E8F #B76FAC #CB98C3

Accessibility & contrast

On white

5.41
#9B4E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9B4E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4E8F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4E8F#FFFFFF#000000##FFFFFF
##9B4E8F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6391
Deuteranopia (green-blind)
#626E8D
Tritanopia (blue-blind)
#A15368
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b4e8f;
/* rgb */ color: rgb(155, 78, 143);
/* oklch */ color: oklch(54.1% 0.132 333.4);
Tailwind
colors: {
  custom: {
    50: '#ba82b0',
    500: '#9b4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e8f;
$custom-light: #ba82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e8f",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 309.351,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54098,
    "c": 0.13205,
    "h": 333.4
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

primary
#9B4E8F
secondary
#8DB894
accent
#C96F5F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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