#9B4FAC#9B4FAC

#9B4FAC is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.7% C 0.158 H 320.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9B4FAC
RGBrgb(155, 79, 172)
HSLhsl(289, 37%, 49%)
HSVhsv(289, 54%, 67%)
CMYKcmyk(9.9%, 54.1%, 0%, 32.5%)
CIE-LABlab(46.37, 46.15, -36.63)
CIE-LCHlch(46.37, 58.92, 321.56°)
OKLaboklab(55.7% 0.1213 -0.1017)
OKLCHoklch(55.7% 0.158 320)
XYZxyz(23.7590, 15.5401, 40.7697)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FAC #60AC4F
analogous
#6D4FAC #9B4FAC #AC4F8F
triadic
#9B4FAC #AC9B4F #4FAC9B
tetradic
#9B4FAC #AC6D4F #60AC4F #4F8FAC
square
#9B4FAC #AC6D4F #60AC4F #4F8FAC
split-complementary
#9B4FAC #8FAC4F #4FAC6D
monochromatic
#4F2858 #753C82 #9B4FAC #B377C1 #CBA1D4

Accessibility & contrast

On white

5.11
#9B4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9B4FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FAC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FAC#FFFFFF#000000##FFFFFF
##9B4FAC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69AF
Deuteranopia (green-blind)
#5671A9
Tritanopia (blue-blind)
#9C5C76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b4fac;
/* rgb */ color: rgb(155, 79, 172);
/* oklch */ color: oklch(55.7% 0.158 320.0);
Tailwind
colors: {
  custom: {
    50: '#bb84c5',
    500: '#9b4fac',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fac;
$custom-light: #bb84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fac",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 289.032,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55698,
    "c": 0.15826,
    "h": 320
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#9B4FAC
secondary
#9EC196
accent
#CD5B70
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9B4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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