#9B49BB#9B49BB

#9B49BB is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.8% C 0.183 H 315.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9B49BB
RGBrgb(155, 73, 187)
HSLhsl(283, 46%, 51%)
HSVhsv(283, 61%, 73%)
CMYKcmyk(17.1%, 61%, 0%, 26.7%)
CIE-LABlab(46.07, 52.24, -45.88)
CIE-LCHlch(46.07, 69.53, 318.71°)
OKLaboklab(55.75% 0.13 -0.1285)
OKLCHoklch(55.75% 0.183 315.3)
XYZxyz(24.8683, 15.3223, 48.6516)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B49BB #69BB49
analogous
#6249BB #9B49BB #BB49A2
triadic
#9B49BB #BB9B49 #49BB9B
tetradic
#9B49BB #BB6249 #69BB49 #49A2BB
square
#9B49BB #BB6249 #69BB49 #49A2BB
split-complementary
#9B49BB #A2BB49 #49BB62
monochromatic
#532564 #773691 #9B49BB #B376CC #CCA2DC

Accessibility & contrast

On white

5.17
#9B49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B49BB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B49BB#FFFFFF#000000##FFFFFF
##9B49BB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BF
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#995D7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b49bb;
/* rgb */ color: rgb(155, 73, 187);
/* oklch */ color: oklch(55.8% 0.183 315.3);
Tailwind
colors: {
  custom: {
    50: '#bb80d0',
    500: '#9b49bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b49bb;
$custom-light: #bb80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b49bb",
  "rgb": {
    "r": 155,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 283.158,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5575,
    "c": 0.18285,
    "h": 315.3
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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