#9B47BF#9B47BF

#9B47BF is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.190 H 314.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9B47BF
RGBrgb(155, 71, 191)
HSLhsl(282, 48%, 51%)
HSVhsv(282, 63%, 75%)
CMYKcmyk(18.8%, 62.8%, 0%, 25.1%)
CIE-LABlab(45.96, 54.04, -48.39)
CIE-LCHlch(45.96, 72.54, 318.16°)
OKLaboklab(55.74% 0.1325 -0.1359)
OKLCHoklch(55.74% 0.19 314.3)
XYZxyz(25.1732, 15.2374, 50.8952)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47BF #6BBF47
analogous
#5F47BF #9B47BF #BF47A7
triadic
#9B47BF #BF9B47 #47BF9B
tetradic
#9B47BF #BF5F47 #6BBF47 #47A7BF
square
#9B47BF #BF5F47 #6BBF47 #47A7BF
split-complementary
#9B47BF #A7BF47 #47BF5F
monochromatic
#532468 #783495 #9B47BF #B474CF #CCA2DF

Accessibility & contrast

On white

5.19
#9B47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9B47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47BF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47BF#FFFFFF#000000##FFFFFF
##9B47BF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#985D7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b47bf;
/* rgb */ color: rgb(155, 71, 191);
/* oklch */ color: oklch(55.7% 0.190 314.3);
Tailwind
colors: {
  custom: {
    50: '#bc7fd3',
    500: '#9b47bf',
    950: '#000000',
  },
}
SCSS
$custom: #9b47bf;
$custom-light: #bc7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47bf",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 282,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55742,
    "c": 0.18977,
    "h": 314.3
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#9B47BF
secondary
#A6CB96
accent
#D85079
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9B47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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