#9B47BD#9B47BD

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

Color values

HEX#9B47BD
RGBrgb(155, 71, 189)
HSLhsl(283, 47%, 51%)
HSVhsv(283, 62%, 74%)
CMYKcmyk(18%, 62.4%, 0%, 25.9%)
CIE-LABlab(45.84, 53.62, -47.42)
CIE-LCHlch(45.84, 71.58, 318.51°)
OKLaboklab(55.62% 0.1325 -0.133)
OKLCHoklch(55.62% 0.188 314.9)
XYZxyz(24.9546, 15.1500, 49.7440)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47BD #69BD47
analogous
#6047BD #9B47BD #BD47A4
triadic
#9B47BD #BD9B47 #47BD9B
tetradic
#9B47BD #BD6047 #69BD47 #47A4BD
square
#9B47BD #BD6047 #69BD47 #47A4BD
split-complementary
#9B47BD #A4BD47 #47BD60
monochromatic
#532465 #773492 #9B47BD #B374CD #CCA1DD

Accessibility & contrast

On white

5.21
#9B47BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9B47BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47BD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47BD#FFFFFF#000000##FFFFFF
##9B47BD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#446FBA
Tritanopia (blue-blind)
#985C7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b47bd;
/* rgb */ color: rgb(155, 71, 189);
/* oklch */ color: oklch(55.6% 0.188 314.9);
Tailwind
colors: {
  custom: {
    50: '#bc7fd1',
    500: '#9b47bd',
    950: '#000000',
  },
}
SCSS
$custom: #9b47bd;
$custom-light: #bc7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47bd",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 282.712,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55618,
    "c": 0.18776,
    "h": 314.9
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#9B47BD
secondary
#A5CA96
accent
#D75178
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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