#9C46CB#9C46CB

#9C46CB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.204 H 311.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9C46CB
RGBrgb(156, 70, 203)
HSLhsl(279, 56%, 54%)
HSVhsv(279, 66%, 80%)
CMYKcmyk(23.2%, 65.5%, 0%, 20.4%)
CIE-LABlab(46.66, 57.29, -54.21)
CIE-LCHlch(46.66, 78.87, 316.58°)
OKLaboklab(56.51% 0.1344 -0.1529)
OKLCHoklch(56.51% 0.204 311.3)
XYZxyz(26.6779, 15.7607, 58.1251)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46CB #75CB46
analogous
#5946CB #9C46CB #CB46B7
triadic
#9C46CB #CB9C46 #46CB9C
tetradic
#9C46CB #CB5946 #75CB46 #46B7CB
square
#9C46CB #CB5946 #75CB46 #46B7CB
split-complementary
#9C46CB #B7CB46 #46CB59
monochromatic
#582176 #7B2EA5 #9C46CB #B676D8 #CFA6E6

Accessibility & contrast

On white

5.06
#9C46CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9C46CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46CB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46CB#FFFFFF#000000##FFFFFF
##9C46CB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#966183
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9c46cb;
/* rgb */ color: rgb(156, 70, 203);
/* oklch */ color: oklch(56.5% 0.204 311.3);
Tailwind
colors: {
  custom: {
    50: '#bd7fdb',
    500: '#9c46cb',
    950: '#000000',
  },
}
SCSS
$custom: #9c46cb;
$custom-light: #bd7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46cb",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 278.797,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.20359,
    "h": 311.3
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#9C46CB
secondary
#AED39A
accent
#DF487E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9C46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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