#9B47BB#9B47BB

#9B47BB is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.5% C 0.186 H 315.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9B47BB
RGBrgb(155, 71, 187)
HSLhsl(283, 46%, 51%)
HSVhsv(283, 62%, 73%)
CMYKcmyk(17.1%, 62%, 0%, 26.7%)
CIE-LABlab(45.72, 53.20, -46.44)
CIE-LCHlch(45.72, 70.62, 318.88°)
OKLaboklab(55.5% 0.1325 -0.1302)
OKLCHoklch(55.5% 0.186 315.5)
XYZxyz(24.7390, 15.0637, 48.6085)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47BB #67BB47
analogous
#6147BB #9B47BB #BB47A1
triadic
#9B47BB #BB9B47 #47BB9B
tetradic
#9B47BB #BB6147 #67BB47 #47A1BB
square
#9B47BB #BB6147 #67BB47 #47A1BB
split-complementary
#9B47BB #A1BB47 #47BB61
monochromatic
#522563 #773590 #9B47BB #B374CC #CCA0DC

Accessibility & contrast

On white

5.23
#9B47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9B47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47BB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47BB#FFFFFF#000000##FFFFFF
##9B47BB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#995C7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b47bb;
/* rgb */ color: rgb(155, 71, 187);
/* oklch */ color: oklch(55.5% 0.186 315.5);
Tailwind
colors: {
  custom: {
    50: '#bc7fd0',
    500: '#9b47bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b47bb;
$custom-light: #bc7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47bb",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 283.448,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55495,
    "c": 0.18575,
    "h": 315.5
  },
  "luminance": 0.15063
}

Semantic roles & 50–950 ramp

primary
#9B47BB
secondary
#A3C995
accent
#D65276
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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