#9B4ABC#9B4ABC

#9B4ABC is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.9% C 0.182 H 314.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9B4ABC
RGBrgb(155, 74, 188)
HSLhsl(283, 46%, 51%)
HSVhsv(283, 61%, 74%)
CMYKcmyk(17.6%, 60.6%, 0%, 26.3%)
CIE-LABlab(46.31, 51.97, -46.09)
CIE-LCHlch(46.31, 69.46, 318.43°)
OKLaboklab(55.94% 0.1288 -0.1292)
OKLCHoklch(55.94% 0.182 314.9)
XYZxyz(25.0420, 15.4978, 49.2394)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4ABC #6BBC4A
analogous
#624ABC #9B4ABC #BC4AA4
triadic
#9B4ABC #BC9B4A #4ABC9B
tetradic
#9B4ABC #BC624A #6BBC4A #4AA4BC
square
#9B4ABC #BC624A #6BBC4A #4AA4BC
split-complementary
#9B4ABC #A4BC4A #4ABC62
monochromatic
#532666 #783693 #9B4ABC #B477CD #CCA3DD

Accessibility & contrast

On white

5.12
#9B4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9B4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4ABC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4ABC#FFFFFF#000000##FFFFFF
##9B4ABC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669C0
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#995E7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9b4abc;
/* rgb */ color: rgb(155, 74, 188);
/* oklch */ color: oklch(55.9% 0.182 314.9);
Tailwind
colors: {
  custom: {
    50: '#bb81d1',
    500: '#9b4abc',
    950: '#000000',
  },
}
SCSS
$custom: #9b4abc;
$custom-light: #bb81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4abc",
  "rgb": {
    "r": 155,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 282.632,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.1824,
    "h": 314.9
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#9B4ABC
secondary
#A6CA98
accent
#D65278
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9B4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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