#9C47D9#9C47D9

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

Color values

HEX#9C47D9
RGBrgb(156, 71, 217)
HSLhsl(275, 66%, 56%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(28.1%, 67.3%, 0%, 14.9%)
CIE-LABlab(47.73, 59.90, -60.51)
CIE-LCHlch(47.73, 85.14, 314.71°)
OKLaboklab(57.57% 0.1321 -0.1714)
OKLCHoklch(57.57% 0.216 307.6)
XYZxyz(28.4853, 16.5845, 67.3327)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47D9 #84D947
analogous
#5347D9 #9C47D9 #D947CD
triadic
#9C47D9 #D99C47 #47D99C
tetradic
#9C47D9 #D95347 #84D947 #47CDD9
square
#9C47D9 #D95347 #84D947 #47CDD9
split-complementary
#9C47D9 #CDD947 #47D953
monochromatic
#5C1C89 #7E27BC #9C47D9 #B77AE3 #D3ACEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C47D9#FFFFFF#000000##FFFFFF
##9C47D91.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)
#006EDD
Deuteranopia (green-blind)
#2572D6
Tritanopia (blue-blind)
#92678A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c47d9;
/* rgb */ color: rgb(156, 71, 217);
/* oklch */ color: oklch(57.6% 0.216 307.6);
Tailwind
colors: {
  custom: {
    50: '#be80e6',
    500: '#9c47d9',
    950: '#000000',
  },
}
SCSS
$custom: #9c47d9;
$custom-light: #be80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47d9",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 274.932,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.21642,
    "h": 307.6
  },
  "luminance": 0.16584
}

Semantic roles & 50–950 ramp

primary
#9C47D9
secondary
#B9DCA0
accent
#E93F86
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C47D9

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

Preview Lab → · Contrast checker → · Palette generator →

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