#9B47D0#9B47D0

#9B47D0 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.207 H 309.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9B47D0
RGBrgb(155, 71, 208)
HSLhsl(277, 59%, 55%)
HSVhsv(277, 66%, 82%)
CMYKcmyk(25.5%, 65.9%, 0%, 18.4%)
CIE-LABlab(47.01, 57.70, -56.52)
CIE-LCHlch(47.01, 80.77, 315.59°)
OKLaboklab(56.84% 0.1317 -0.1597)
OKLCHoklch(56.84% 0.207 309.5)
XYZxyz(27.1537, 16.0296, 61.3259)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47D0 #7CD047
analogous
#5747D0 #9B47D0 #D047C1
triadic
#9B47D0 #D09B47 #47D09B
tetradic
#9B47D0 #D05747 #7CD047 #47C1D0
square
#9B47D0 #D05747 #7CD047 #47C1D0
split-complementary
#9B47D0 #C1D047 #47D057
monochromatic
#59207D #7C2CAD #9B47D0 #B578DC #D0A8E9

Accessibility & contrast

On white

4.99
#9B47D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9B47D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47D0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47D0#FFFFFF#000000##FFFFFF
##9B47D01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#3171CD
Tritanopia (blue-blind)
#936386
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b47d0;
/* rgb */ color: rgb(155, 71, 208);
/* oklch */ color: oklch(56.8% 0.207 309.5);
Tailwind
colors: {
  custom: {
    50: '#bd80df',
    500: '#9b47d0',
    950: '#000000',
  },
}
SCSS
$custom: #9b47d0;
$custom-light: #bd80df;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47d0",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 208
  },
  "hsl": {
    "h": 276.788,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.207,
    "h": 309.5
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#9B47D0
secondary
#B3D69D
accent
#E24582
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B47D0

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

Preview Lab → · Contrast checker → · Palette generator →

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