#9B47BE#9B47BE

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

Color values

HEX#9B47BE
RGBrgb(155, 71, 190)
HSLhsl(282, 48%, 51%)
HSVhsv(282, 63%, 75%)
CMYKcmyk(18.4%, 62.6%, 0%, 25.5%)
CIE-LABlab(45.90, 53.83, -47.91)
CIE-LCHlch(45.90, 72.06, 318.33°)
OKLaboklab(55.68% 0.1325 -0.1345)
OKLCHoklch(55.68% 0.189 314.6)
XYZxyz(25.0636, 15.1935, 50.3176)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47BE #6ABE47
analogous
#5F47BE #9B47BE #BE47A5
triadic
#9B47BE #BE9B47 #47BE9B
tetradic
#9B47BE #BE5F47 #6ABE47 #47A5BE
square
#9B47BE #BE5F47 #6ABE47 #47A5BE
split-complementary
#9B47BE #A5BE47 #47BE5F
monochromatic
#532466 #783494 #9B47BE #B474CE #CCA1DE

Accessibility & contrast

On white

5.20
#9B47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9B47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47BE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47BE#FFFFFF#000000##FFFFFF
##9B47BE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#985D7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b47be;
/* rgb */ color: rgb(155, 71, 190);
/* oklch */ color: oklch(55.7% 0.189 314.6);
Tailwind
colors: {
  custom: {
    50: '#bc7fd2',
    500: '#9b47be',
    950: '#000000',
  },
}
SCSS
$custom: #9b47be;
$custom-light: #bc7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47be",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 282.353,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5568,
    "c": 0.18877,
    "h": 314.6
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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