#9B47D9#9B47D9

#9B47D9 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.216 H 307.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9B47D9
RGBrgb(155, 71, 217)
HSLhsl(275, 66%, 56%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(28.6%, 67.3%, 0%, 14.9%)
CIE-LABlab(47.60, 59.69, -60.72)
CIE-LCHlch(47.60, 85.15, 314.51°)
OKLaboklab(57.45% 0.1308 -0.1721)
OKLCHoklch(57.45% 0.216 307.3)
XYZxyz(28.2926, 16.4851, 67.3237)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47D9 #85D947
analogous
#5247D9 #9B47D9 #D947CE
triadic
#9B47D9 #D99B47 #47D99B
tetradic
#9B47D9 #D95247 #85D947 #47CED9
square
#9B47D9 #D95247 #85D947 #47CED9
split-complementary
#9B47D9 #CED947 #47D952
monochromatic
#5B1C89 #7D27BC #9B47D9 #B77AE3 #D2ACEE

Accessibility & contrast

On white

4.89
#9B47D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9B47D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47D9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47D9#FFFFFF#000000##FFFFFF
##9B47D91.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#2372D6
Tritanopia (blue-blind)
#91678A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b47d9;
/* rgb */ color: rgb(155, 71, 217);
/* oklch */ color: oklch(57.5% 0.216 307.3);
Tailwind
colors: {
  custom: {
    50: '#bd80e6',
    500: '#9b47d9',
    950: '#000000',
  },
}
SCSS
$custom: #9b47d9;
$custom-light: #bd80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47d9",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 274.521,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57454,
    "c": 0.21616,
    "h": 307.3
  },
  "luminance": 0.16485
}

Semantic roles & 50–950 ramp

primary
#9B47D9
secondary
#B9DCA0
accent
#E93F87
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B47D9

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

Preview Lab → · Contrast checker → · Palette generator →

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