#9C4CBE#9C4CBE

#9C4CBE is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.4% C 0.182 H 314.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9C4CBE
RGBrgb(156, 76, 190)
HSLhsl(282, 47%, 52%)
HSVhsv(282, 60%, 75%)
CMYKcmyk(17.9%, 60%, 0%, 25.5%)
CIE-LABlab(46.92, 51.66, -46.27)
CIE-LCHlch(46.92, 69.35, 318.15°)
OKLaboklab(56.45% 0.1276 -0.1297)
OKLCHoklch(56.45% 0.182 314.5)
XYZxyz(25.5875, 15.9553, 50.4370)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CBE #6EBE4C
analogous
#634CBE #9C4CBE #BE4CA7
triadic
#9C4CBE #BE9C4C #4CBE9C
tetradic
#9C4CBE #BE634C #6EBE4C #4CA7BE
square
#9C4CBE #BE634C #6EBE4C #4CA7BE
split-complementary
#9C4CBE #A7BE4C #4CBE63
monochromatic
#552669 #7A3796 #9C4CBE #B579CE #CEA6DF

Accessibility & contrast

On white

5.01
#9C4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9C4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CBE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CBE#FFFFFF#000000##FFFFFF
##9C4CBE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#99607E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9c4cbe;
/* rgb */ color: rgb(156, 76, 190);
/* oklch */ color: oklch(56.4% 0.182 314.5);
Tailwind
colors: {
  custom: {
    50: '#bc82d2',
    500: '#9c4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #9c4cbe;
$custom-light: #bc82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4cbe",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 282.105,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.1819,
    "h": 314.5
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#9C4CBE
secondary
#A9CC9A
accent
#D65179
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9C4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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