#9B4ABE#9B4ABE

#9B4ABE is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.1% C 0.184 H 314.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9B4ABE
RGBrgb(155, 74, 190)
HSLhsl(282, 47%, 52%)
HSVhsv(282, 61%, 75%)
CMYKcmyk(18.4%, 61.1%, 0%, 25.5%)
CIE-LABlab(46.42, 52.39, -47.06)
CIE-LCHlch(46.42, 70.43, 318.07°)
OKLaboklab(56.06% 0.1288 -0.132)
OKLCHoklch(56.06% 0.184 314.3)
XYZxyz(25.2591, 15.5846, 50.3828)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4ABE #6DBE4A
analogous
#614ABE #9B4ABE #BE4AA7
triadic
#9B4ABE #BE9B4A #4ABE9B
tetradic
#9B4ABE #BE614A #6DBE4A #4AA7BE
square
#9B4ABE #BE614A #6DBE4A #4AA7BE
split-complementary
#9B4ABE #A7BE4A #4ABE61
monochromatic
#542568 #783695 #9B4ABE #B477CE #CDA4DE

Accessibility & contrast

On white

5.10
#9B4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9B4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4ABE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4ABE#FFFFFF#000000##FFFFFF
##9B4ABE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C2
Deuteranopia (green-blind)
#4670BB
Tritanopia (blue-blind)
#985F7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b4abe;
/* rgb */ color: rgb(155, 74, 190);
/* oklch */ color: oklch(56.1% 0.184 314.3);
Tailwind
colors: {
  custom: {
    50: '#bc81d2',
    500: '#9b4abe',
    950: '#000000',
  },
}
SCSS
$custom: #9b4abe;
$custom-light: #bc81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4abe",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 281.897,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56062,
    "c": 0.18444,
    "h": 314.3
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#9B4ABE
secondary
#A8CB98
accent
#D75179
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9B4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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