#9C4FBC#9C4FBC

#9C4FBC is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.7% C 0.175 H 314.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9C4FBC
RGBrgb(156, 79, 188)
HSLhsl(282, 45%, 52%)
HSVhsv(282, 58%, 74%)
CMYKcmyk(17%, 58%, 0%, 26.3%)
CIE-LABlab(47.35, 49.75, -44.41)
CIE-LCHlch(47.35, 66.69, 318.24°)
OKLaboklab(56.73% 0.1237 -0.1243)
OKLCHoklch(56.73% 0.175 314.9)
XYZxyz(25.5819, 16.2915, 49.3642)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FBC #6FBC4F
analogous
#654FBC #9C4FBC #BC4FA6
triadic
#9C4FBC #BC9C4F #4FBC9C
tetradic
#9C4FBC #BC654F #6FBC4F #4FA6BC
square
#9C4FBC #BC654F #6FBC4F #4FA6BC
split-complementary
#9C4FBC #A6BC4F #4FBC65
monochromatic
#562869 #7A3995 #9C4FBC #B57BCD #CEA8DE

Accessibility & contrast

On white

4.93
#9C4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9C4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FBC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FBC#FFFFFF#000000##FFFFFF
##9C4FBC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#9A627E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c4fbc;
/* rgb */ color: rgb(156, 79, 188);
/* oklch */ color: oklch(56.7% 0.175 314.9);
Tailwind
colors: {
  custom: {
    50: '#bc84d1',
    500: '#9c4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fbc;
$custom-light: #bc84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fbc",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 282.385,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.17531,
    "h": 314.9
  },
  "luminance": 0.16291
}

Semantic roles & 50–950 ramp

primary
#9C4FBC
secondary
#AACB9C
accent
#D55379
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9C4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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