#9C46BB#9C46BB

#9C46BB is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.188 H 316.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9C46BB
RGBrgb(156, 70, 187)
HSLhsl(284, 46%, 50%)
HSVhsv(284, 63%, 73%)
CMYKcmyk(16.6%, 62.6%, 0%, 26.7%)
CIE-LABlab(45.68, 53.91, -46.49)
CIE-LCHlch(45.68, 71.19, 319.23°)
OKLaboklab(55.5% 0.135 -0.1303)
OKLCHoklch(55.5% 0.188 316)
XYZxyz(24.8687, 15.0370, 48.5965)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46BB #65BB46
analogous
#6246BB #9C46BB #BB469F
triadic
#9C46BB #BB9C46 #46BB9C
tetradic
#9C46BB #BB6246 #65BB46 #469FBB
square
#9C46BB #BB6246 #65BB46 #469FBB
split-complementary
#9C46BB #9FBB46 #46BB62
monochromatic
#522462 #77358F #9C46BB #B473CB #CCA0DC

Accessibility & contrast

On white

5.24
#9C46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9C46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46BB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46BB#FFFFFF#000000##FFFFFF
##9C46BB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#9A5B7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c46bb;
/* rgb */ color: rgb(156, 70, 187);
/* oklch */ color: oklch(55.5% 0.188 316.0);
Tailwind
colors: {
  custom: {
    50: '#bc7fd0',
    500: '#9c46bb',
    950: '#000000',
  },
}
SCSS
$custom: #9c46bb;
$custom-light: #bc7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46bb",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 284.103,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55497,
    "c": 0.18759,
    "h": 316
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#9C46BB
secondary
#A2C894
accent
#D65275
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9C46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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