#9C47CB#9C47CB

#9C47CB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.202 H 311.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9C47CB
RGBrgb(156, 71, 203)
HSLhsl(279, 56%, 54%)
HSVhsv(279, 65%, 80%)
CMYKcmyk(23.2%, 65%, 0%, 20.4%)
CIE-LABlab(46.83, 56.83, -53.94)
CIE-LCHlch(46.83, 78.35, 316.49°)
OKLaboklab(56.63% 0.1333 -0.1521)
OKLCHoklch(56.63% 0.202 311.2)
XYZxyz(26.7410, 15.8868, 58.1461)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47CB #76CB47
analogous
#5A47CB #9C47CB #CB47B8
triadic
#9C47CB #CB9C47 #47CB9C
tetradic
#9C47CB #CB5A47 #76CB47 #47B8CB
square
#9C47CB #CB5A47 #76CB47 #47B8CB
split-complementary
#9C47CB #B8CB47 #47CB5A
monochromatic
#582176 #7C2FA6 #9C47CB #B677D8 #CFA6E6

Accessibility & contrast

On white

5.03
#9C47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9C47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47CB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47CB#FFFFFF#000000##FFFFFF
##9C47CB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c47cb;
/* rgb */ color: rgb(156, 71, 203);
/* oklch */ color: oklch(56.6% 0.202 311.2);
Tailwind
colors: {
  custom: {
    50: '#bd80db',
    500: '#9c47cb',
    950: '#000000',
  },
}
SCSS
$custom: #9c47cb;
$custom-light: #bd80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47cb",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 278.636,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.20225,
    "h": 311.2
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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