#9C4EBE#9C4EBE

#9C4EBE is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.7% C 0.179 H 314.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9C4EBE
RGBrgb(156, 78, 190)
HSLhsl(282, 46%, 53%)
HSVhsv(282, 59%, 75%)
CMYKcmyk(17.9%, 58.9%, 0%, 25.5%)
CIE-LABlab(47.28, 50.67, -45.69)
CIE-LCHlch(47.28, 68.23, 317.96°)
OKLaboklab(56.71% 0.125 -0.128)
OKLCHoklch(56.71% 0.179 314.3)
XYZxyz(25.7274, 16.2352, 50.4837)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4EBE #70BE4E
analogous
#644EBE #9C4EBE #BE4EA8
triadic
#9C4EBE #BE9C4E #4EBE9C
tetradic
#9C4EBE #BE644E #70BE4E #4EA8BE
square
#9C4EBE #BE644E #70BE4E #4EA8BE
split-complementary
#9C4EBE #A8BE4E #4EBE64
monochromatic
#56276A #7A3897 #9C4EBE #B57BCE #CEA8DF

Accessibility & contrast

On white

4.94
#9C4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9C4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4EBE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4EBE#FFFFFF#000000##FFFFFF
##9C4EBE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#99627F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c4ebe;
/* rgb */ color: rgb(156, 78, 190);
/* oklch */ color: oklch(56.7% 0.179 314.3);
Tailwind
colors: {
  custom: {
    50: '#bc83d2',
    500: '#9c4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ebe;
$custom-light: #bc83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ebe",
  "rgb": {
    "r": 156,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 281.786,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.17892,
    "h": 314.3
  },
  "luminance": 0.16234
}

Semantic roles & 50–950 ramp

primary
#9C4EBE
secondary
#AACC9C
accent
#D6527A
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9C4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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