#9C4CBC#9C4CBC

#9C4CBC is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.3% C 0.180 H 315.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9C4CBC
RGBrgb(156, 76, 188)
HSLhsl(283, 46%, 52%)
HSVhsv(283, 60%, 74%)
CMYKcmyk(17%, 59.6%, 0%, 26.3%)
CIE-LABlab(46.80, 51.24, -45.29)
CIE-LCHlch(46.80, 68.39, 318.52°)
OKLaboklab(56.33% 0.1275 -0.1268)
OKLCHoklch(56.33% 0.18 315.2)
XYZxyz(25.3704, 15.8685, 49.2937)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CBC #6CBC4C
analogous
#644CBC #9C4CBC #BC4CA4
triadic
#9C4CBC #BC9C4C #4CBC9C
tetradic
#9C4CBC #BC644C #6CBC4C #4CA4BC
square
#9C4CBC #BC644C #6CBC4C #4CA4BC
split-complementary
#9C4CBC #A4BC4C #4CBC64
monochromatic
#552767 #793794 #9C4CBC #B579CD #CDA5DD

Accessibility & contrast

On white

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

On black

4.17
#9C4CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9C4CBC#FFFFFF#000000##FFFFFF
##9C4CBC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6AC0
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#9A5F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9c4cbc;
/* rgb */ color: rgb(156, 76, 188);
/* oklch */ color: oklch(56.3% 0.180 315.2);
Tailwind
colors: {
  custom: {
    50: '#bc82d1',
    500: '#9c4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #9c4cbc;
$custom-light: #bc82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4cbc",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 282.857,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56327,
    "c": 0.17985,
    "h": 315.2
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#9C4CBC
secondary
#A7CA99
accent
#D55378
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9C4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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