#9B47DC#9B47DC

#9B47DC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.7% C 0.219 H 306.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9B47DC
RGBrgb(155, 71, 220)
HSLhsl(274, 68%, 57%)
HSVhsv(274, 68%, 86%)
CMYKcmyk(29.5%, 67.7%, 0%, 13.7%)
CIE-LABlab(47.81, 60.36, -62.11)
CIE-LCHlch(47.81, 86.61, 314.18°)
OKLaboklab(57.66% 0.1305 -0.1761)
OKLCHoklch(57.66% 0.219 306.5)
XYZxyz(28.6863, 16.6426, 69.3974)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47DC #88DC47
analogous
#5147DC #9B47DC #DC47D2
triadic
#9B47DC #DC9B47 #47DC9B
tetradic
#9B47DC #DC5147 #88DC47 #47D2DC
square
#9B47DC #DC5147 #88DC47 #47D2DC
split-complementary
#9B47DC #D2DC47 #47DC51
monochromatic
#5C1B8E #7D25C1 #9B47DC #B77AE6 #D3AEF0

Accessibility & contrast

On white

4.85
#9B47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9B47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47DC#FFFFFF#000000##FFFFFF
##9B47DC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#90688C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b47dc;
/* rgb */ color: rgb(155, 71, 220);
/* oklch */ color: oklch(57.7% 0.219 306.5);
Tailwind
colors: {
  custom: {
    50: '#bd80e8',
    500: '#9b47dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b47dc;
$custom-light: #bd80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47dc",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 273.826,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57662,
    "c": 0.21921,
    "h": 306.5
  },
  "luminance": 0.16642
}

Semantic roles & 50–950 ramp

primary
#9B47DC
secondary
#BCDEA1
accent
#EB3D89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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