#9C46BC#9C46BC

#9C46BC is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.189 H 315.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9C46BC
RGBrgb(156, 70, 188)
HSLhsl(284, 47%, 51%)
HSVhsv(284, 63%, 74%)
CMYKcmyk(17%, 62.8%, 0%, 26.3%)
CIE-LABlab(45.74, 54.12, -46.98)
CIE-LCHlch(45.74, 71.67, 319.04°)
OKLaboklab(55.56% 0.135 -0.1317)
OKLCHoklch(55.56% 0.189 315.7)
XYZxyz(24.9761, 15.0800, 49.1623)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46BC #66BC46
analogous
#6146BC #9C46BC #BC46A1
triadic
#9C46BC #BC9C46 #46BC9C
tetradic
#9C46BC #BC6146 #66BC46 #46A1BC
square
#9C46BC #BC6146 #66BC46 #46A1BC
split-complementary
#9C46BC #A1BC46 #46BC61
monochromatic
#522464 #773490 #9C46BC #B473CC #CCA0DD

Accessibility & contrast

On white

5.23
#9C46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9C46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46BC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46BC#FFFFFF#000000##FFFFFF
##9C46BC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67C0
Deuteranopia (green-blind)
#456FB9
Tritanopia (blue-blind)
#9A5B7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c46bc;
/* rgb */ color: rgb(156, 70, 188);
/* oklch */ color: oklch(55.6% 0.189 315.7);
Tailwind
colors: {
  custom: {
    50: '#bc7fd1',
    500: '#9c46bc',
    950: '#000000',
  },
}
SCSS
$custom: #9c46bc;
$custom-light: #bc7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46bc",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 283.729,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55558,
    "c": 0.18859,
    "h": 315.7
  },
  "luminance": 0.15079
}

Semantic roles & 50–950 ramp

primary
#9C46BC
secondary
#A3C995
accent
#D65175
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9C46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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