#9B49BA#9B49BA

#9B49BA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.182 H 315.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9B49BA
RGBrgb(155, 73, 186)
HSLhsl(284, 45%, 51%)
HSVhsv(284, 61%, 73%)
CMYKcmyk(16.7%, 60.8%, 0%, 27.1%)
CIE-LABlab(46.01, 52.03, -45.39)
CIE-LCHlch(46.01, 69.05, 318.90°)
OKLaboklab(55.69% 0.13 -0.1271)
OKLCHoklch(55.69% 0.182 315.6)
XYZxyz(24.7617, 15.2797, 48.0898)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49BA #68BA49
analogous
#6249BA #9B49BA #BA49A0
triadic
#9B49BA #BA9B49 #49BA9B
tetradic
#9B49BA #BA6249 #68BA49 #49A0BA
square
#9B49BA #BA6249 #68BA49 #49A0BA
split-complementary
#9B49BA #A0BA49 #49BA62
monochromatic
#522663 #77368F #9B49BA #B375CB #CCA2DC

Accessibility & contrast

On white

5.18
#9B49BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9B49BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B49BA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49BA#FFFFFF#000000##FFFFFF
##9B49BA1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BE
Deuteranopia (green-blind)
#496FB7
Tritanopia (blue-blind)
#995D7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b49ba;
/* rgb */ color: rgb(155, 73, 186);
/* oklch */ color: oklch(55.7% 0.182 315.6);
Tailwind
colors: {
  custom: {
    50: '#bb80cf',
    500: '#9b49ba',
    950: '#000000',
  },
}
SCSS
$custom: #9b49ba;
$custom-light: #bb80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49ba",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 283.54,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.18183,
    "h": 315.6
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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