#9B47DB#9B47DB

#9B47DB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.218 H 306.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9B47DB
RGBrgb(155, 71, 219)
HSLhsl(274, 67%, 57%)
HSVhsv(274, 68%, 86%)
CMYKcmyk(29.2%, 67.6%, 0%, 14.1%)
CIE-LABlab(47.74, 60.14, -61.65)
CIE-LCHlch(47.74, 86.12, 314.29°)
OKLaboklab(57.59% 0.1306 -0.1748)
OKLCHoklch(57.59% 0.218 306.8)
XYZxyz(28.5543, 16.5898, 68.7020)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47DB #87DB47
analogous
#5147DB #9B47DB #DB47D1
triadic
#9B47DB #DB9B47 #47DB9B
tetradic
#9B47DB #DB5147 #87DB47 #47D1DB
square
#9B47DB #DB5147 #87DB47 #47D1DB
split-complementary
#9B47DB #D1DB47 #47DB51
monochromatic
#5B1B8C #7D25BF #9B47DB #B77AE5 #D3ADEF

Accessibility & contrast

On white

4.86
#9B47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9B47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47DB#FFFFFF#000000##FFFFFF
##9B47DB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b47db;
/* rgb */ color: rgb(155, 71, 219);
/* oklch */ color: oklch(57.6% 0.218 306.8);
Tailwind
colors: {
  custom: {
    50: '#bd80e7',
    500: '#9b47db',
    950: '#000000',
  },
}
SCSS
$custom: #9b47db;
$custom-light: #bd80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47db",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 274.054,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.21819,
    "h": 306.8
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#9B47DB
secondary
#BBDDA1
accent
#EA3E88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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