#9B47D8#9B47D8

#9B47D8 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.215 H 307.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9B47D8
RGBrgb(155, 71, 216)
HSLhsl(275, 65%, 56%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(28.2%, 67.1%, 0%, 15.3%)
CIE-LABlab(47.54, 59.47, -60.26)
CIE-LCHlch(47.54, 84.66, 314.62°)
OKLaboklab(57.39% 0.1309 -0.1707)
OKLCHoklch(57.39% 0.215 307.5)
XYZxyz(28.1629, 16.4333, 66.6407)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47D8 #84D847
analogous
#5347D8 #9B47D8 #D847CC
triadic
#9B47D8 #D89B47 #47D89B
tetradic
#9B47D8 #D85347 #84D847 #47CCD8
square
#9B47D8 #D85347 #84D847 #47CCD8
split-complementary
#9B47D8 #CCD847 #47D853
monochromatic
#5B1D88 #7D27BA #9B47D8 #B679E3 #D2ACED

Accessibility & contrast

On white

4.90
#9B47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9B47D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47D8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47D8#FFFFFF#000000##FFFFFF
##9B47D81.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#2572D5
Tritanopia (blue-blind)
#91678A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b47d8;
/* rgb */ color: rgb(155, 71, 216);
/* oklch */ color: oklch(57.4% 0.215 307.5);
Tailwind
colors: {
  custom: {
    50: '#bd80e5',
    500: '#9b47d8',
    950: '#000000',
  },
}
SCSS
$custom: #9b47d8;
$custom-light: #bd80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47d8",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 274.759,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.21514,
    "h": 307.5
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#9B47D8
secondary
#B9DBA0
accent
#E84087
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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