#9C47CF#9C47CF

#9C47CF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.206 H 310.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9C47CF
RGBrgb(156, 71, 207)
HSLhsl(278, 59%, 55%)
HSVhsv(278, 66%, 81%)
CMYKcmyk(24.6%, 65.7%, 0%, 18.8%)
CIE-LABlab(47.08, 57.70, -55.84)
CIE-LCHlch(47.08, 80.29, 315.94°)
OKLaboklab(56.9% 0.133 -0.1577)
OKLCHoklch(56.9% 0.206 310.2)
XYZxyz(27.2238, 16.0800, 60.6890)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47CF #7ACF47
analogous
#5847CF #9C47CF #CF47BE
triadic
#9C47CF #CF9C47 #47CF9C
tetradic
#9C47CF #CF5847 #7ACF47 #47BECF
square
#9C47CF #CF5847 #7ACF47 #47BECF
split-complementary
#9C47CF #BECF47 #47CF58
monochromatic
#59207B #7C2DAC #9C47CF #B678DC #D0A8E8

Accessibility & contrast

On white

4.98
#9C47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9C47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47CF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47CF#FFFFFF#000000##FFFFFF
##9C47CF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#956385
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c47cf;
/* rgb */ color: rgb(156, 71, 207);
/* oklch */ color: oklch(56.9% 0.206 310.2);
Tailwind
colors: {
  custom: {
    50: '#bd80de',
    500: '#9c47cf',
    950: '#000000',
  },
}
SCSS
$custom: #9c47cf;
$custom-light: #bd80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47cf",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 277.5,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56896,
    "c": 0.20629,
    "h": 310.2
  },
  "luminance": 0.16079
}

Semantic roles & 50–950 ramp

primary
#9C47CF
secondary
#B2D69C
accent
#E24680
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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