#9B4ABA#9B4ABA

#9B4ABA is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.8% C 0.180 H 315.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9B4ABA
RGBrgb(155, 74, 186)
HSLhsl(283, 45%, 51%)
HSVhsv(283, 60%, 73%)
CMYKcmyk(16.7%, 60.2%, 0%, 27.1%)
CIE-LABlab(46.19, 51.55, -45.10)
CIE-LCHlch(46.19, 68.49, 318.81°)
OKLaboklab(55.82% 0.1288 -0.1263)
OKLCHoklch(55.82% 0.18 315.6)
XYZxyz(24.8279, 15.4121, 48.1118)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4ABA #69BA4A
analogous
#634ABA #9B4ABA #BA4AA1
triadic
#9B4ABA #BA9B4A #4ABA9B
tetradic
#9B4ABA #BA634A #69BA4A #4AA1BA
square
#9B4ABA #BA634A #69BA4A #4AA1BA
split-complementary
#9B4ABA #A1BA4A #4ABA63
monochromatic
#532664 #773790 #9B4ABA #B376CB #CCA3DC

Accessibility & contrast

On white

5.14
#9B4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9B4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4ABA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4ABA#FFFFFF#000000##FFFFFF
##9B4ABA1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#4970B7
Tritanopia (blue-blind)
#995D7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b4aba;
/* rgb */ color: rgb(155, 74, 186);
/* oklch */ color: oklch(55.8% 0.180 315.6);
Tailwind
colors: {
  custom: {
    50: '#bb81cf',
    500: '#9b4aba',
    950: '#000000',
  },
}
SCSS
$custom: #9b4aba;
$custom-light: #bb81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4aba",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 283.393,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.18036,
    "h": 315.6
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#9B4ABA
secondary
#A5C997
accent
#D55377
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9B4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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