#9B47CB#9B47CB

#9B47CB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.202 H 310.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9B47CB
RGBrgb(155, 71, 203)
HSLhsl(278, 56%, 54%)
HSVhsv(278, 65%, 80%)
CMYKcmyk(23.6%, 65%, 0%, 20.4%)
CIE-LABlab(46.69, 56.61, -54.16)
CIE-LCHlch(46.69, 78.34, 316.27°)
OKLaboklab(56.51% 0.132 -0.1528)
OKLCHoklch(56.51% 0.202 310.8)
XYZxyz(26.5483, 15.7874, 58.1371)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47CB #77CB47
analogous
#5947CB #9B47CB #CB47B9
triadic
#9B47CB #CB9B47 #47CB9B
tetradic
#9B47CB #CB5947 #77CB47 #47B9CB
square
#9B47CB #CB5947 #77CB47 #47B9CB
split-complementary
#9B47CB #B9CB47 #47CB59
monochromatic
#572176 #7B2FA6 #9B47CB #B577D8 #CFA6E6

Accessibility & contrast

On white

5.05
#9B47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9B47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47CB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47CB#FFFFFF#000000##FFFFFF
##9B47CB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#956283
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b47cb;
/* rgb */ color: rgb(155, 71, 203);
/* oklch */ color: oklch(56.5% 0.202 310.8);
Tailwind
colors: {
  custom: {
    50: '#bc80db',
    500: '#9b47cb',
    950: '#000000',
  },
}
SCSS
$custom: #9b47cb;
$custom-light: #bc80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47cb",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 278.182,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.20192,
    "h": 310.8
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#9B47CB
secondary
#AFD39B
accent
#DF497F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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