#9B4EBE#9B4EBE

#9B4EBE is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.6% C 0.179 H 313.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9B4EBE
RGBrgb(155, 78, 190)
HSLhsl(281, 46%, 53%)
HSVhsv(281, 59%, 75%)
CMYKcmyk(18.4%, 58.9%, 0%, 25.5%)
CIE-LABlab(47.15, 50.42, -45.90)
CIE-LCHlch(47.15, 68.19, 317.68°)
OKLaboklab(56.59% 0.1238 -0.1286)
OKLCHoklch(56.59% 0.179 313.9)
XYZxyz(25.5347, 16.1358, 50.4746)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4EBE #71BE4E
analogous
#634EBE #9B4EBE #BE4EA9
triadic
#9B4EBE #BE9B4E #4EBE9B
tetradic
#9B4EBE #BE634E #71BE4E #4EA9BE
square
#9B4EBE #BE634E #71BE4E #4EA9BE
split-complementary
#9B4EBE #A9BE4E #4EBE63
monochromatic
#55276A #793897 #9B4EBE #B47BCE #CEA8DF

Accessibility & contrast

On white

4.97
#9B4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9B4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4EBE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4EBE#FFFFFF#000000##FFFFFF
##9B4EBE1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC2
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#98627F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b4ebe;
/* rgb */ color: rgb(155, 78, 190);
/* oklch */ color: oklch(56.6% 0.179 313.9);
Tailwind
colors: {
  custom: {
    50: '#bb83d2',
    500: '#9b4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ebe;
$custom-light: #bb83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ebe",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 281.25,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.17851,
    "h": 313.9
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#9B4EBE
secondary
#ABCC9C
accent
#D6527B
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9B4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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