#9B4EAA#9B4EAA

#9B4EAA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.4% C 0.158 H 320.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9B4EAA
RGBrgb(155, 78, 170)
HSLhsl(290, 37%, 49%)
HSVhsv(290, 54%, 67%)
CMYKcmyk(8.8%, 54.1%, 0%, 33.3%)
CIE-LABlab(46.07, 46.26, -35.91)
CIE-LCHlch(46.07, 58.56, 322.18°)
OKLaboklab(55.45% 0.1225 -0.0996)
OKLCHoklch(55.45% 0.158 320.9)
XYZxyz(23.4968, 15.3206, 39.7419)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4EAA #5DAA4E
analogous
#6D4EAA #9B4EAA #AA4E8B
triadic
#9B4EAA #AA9B4E #4EAA9B
tetradic
#9B4EAA #AA6D4E #5DAA4E #4E8BAA
square
#9B4EAA #AA6D4E #5DAA4E #4E8BAA
split-complementary
#9B4EAA #8BAA4E #4EAA6D
monochromatic
#4E2856 #753B80 #9B4EAA #B475C0 #CB9FD3

Accessibility & contrast

On white

5.17
#9B4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9B4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4EAA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4EAA#FFFFFF#000000##FFFFFF
##9B4EAA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#9C5B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b4eaa;
/* rgb */ color: rgb(155, 78, 170);
/* oklch */ color: oklch(55.4% 0.158 320.9);
Tailwind
colors: {
  custom: {
    50: '#bb83c3',
    500: '#9b4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9b4eaa;
$custom-light: #bb83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4eaa",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 290.217,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.15784,
    "h": 320.9
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#9B4EAA
secondary
#9BC094
accent
#CD5B6D
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9B4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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