#9B47BC#9B47BC

#9B47BC is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.187 H 315.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9B47BC
RGBrgb(155, 71, 188)
HSLhsl(283, 47%, 51%)
HSVhsv(283, 62%, 74%)
CMYKcmyk(17.6%, 62.2%, 0%, 26.3%)
CIE-LABlab(45.78, 53.41, -46.93)
CIE-LCHlch(45.78, 71.10, 318.70°)
OKLaboklab(55.56% 0.1325 -0.1316)
OKLCHoklch(55.56% 0.187 315.2)
XYZxyz(24.8465, 15.1067, 49.1743)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47BC #68BC47
analogous
#6047BC #9B47BC #BC47A2
triadic
#9B47BC #BC9B47 #47BC9B
tetradic
#9B47BC #BC6047 #68BC47 #47A2BC
square
#9B47BC #BC6047 #68BC47 #47A2BC
split-complementary
#9B47BC #A2BC47 #47BC60
monochromatic
#522464 #773591 #9B47BC #B374CC #CCA1DD

Accessibility & contrast

On white

5.22
#9B47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9B47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47BC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47BC#FFFFFF#000000##FFFFFF
##9B47BC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#456FB9
Tritanopia (blue-blind)
#995C7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b47bc;
/* rgb */ color: rgb(155, 71, 188);
/* oklch */ color: oklch(55.6% 0.187 315.2);
Tailwind
colors: {
  custom: {
    50: '#bc7fd1',
    500: '#9b47bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b47bc;
$custom-light: #bc7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47bc",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 283.077,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.18676,
    "h": 315.2
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#9B47BC
secondary
#A4C995
accent
#D65277
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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