#9C47DC#9C47DC

#9C47DC is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.219 H 306.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9C47DC
RGBrgb(156, 71, 220)
HSLhsl(274, 68%, 57%)
HSVhsv(274, 68%, 86%)
CMYKcmyk(29.1%, 67.7%, 0%, 13.7%)
CIE-LABlab(47.93, 60.56, -61.89)
CIE-LCHlch(47.93, 86.60, 314.38°)
OKLaboklab(57.78% 0.1318 -0.1755)
OKLCHoklch(57.78% 0.219 306.9)
XYZxyz(28.8791, 16.7420, 69.4064)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47DC #87DC47
analogous
#5147DC #9C47DC #DC47D2
triadic
#9C47DC #DC9C47 #47DC9C
tetradic
#9C47DC #DC5147 #87DC47 #47D2DC
square
#9C47DC #DC5147 #87DC47 #47D2DC
split-complementary
#9C47DC #D2DC47 #47DC51
monochromatic
#5C1B8E #7E25C1 #9C47DC #B87AE6 #D3AEF0

Accessibility & contrast

On white

4.83
#9C47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9C47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47DC#FFFFFF#000000##FFFFFF
##9C47DC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#1E72D9
Tritanopia (blue-blind)
#91688C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c47dc;
/* rgb */ color: rgb(156, 71, 220);
/* oklch */ color: oklch(57.8% 0.219 306.9);
Tailwind
colors: {
  custom: {
    50: '#be80e8',
    500: '#9c47dc',
    950: '#000000',
  },
}
SCSS
$custom: #9c47dc;
$custom-light: #be80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47dc",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 274.228,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.21946,
    "h": 306.9
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#9C47DC
secondary
#BBDEA1
accent
#EB3D88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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