#9C46CC#9C46CC

#9C46CC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.205 H 311.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9C46CC
RGBrgb(156, 70, 204)
HSLhsl(279, 57%, 54%)
HSVhsv(279, 66%, 80%)
CMYKcmyk(23.5%, 65.7%, 0%, 20%)
CIE-LABlab(46.72, 57.51, -54.68)
CIE-LCHlch(46.72, 79.36, 316.44°)
OKLaboklab(56.58% 0.1344 -0.1543)
OKLCHoklch(56.58% 0.205 311)
XYZxyz(26.7975, 15.8085, 58.7547)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46CC #76CC46
analogous
#5946CC #9C46CC #CC46B9
triadic
#9C46CC #CC9C46 #46CC9C
tetradic
#9C46CC #CC5946 #76CC46 #46B9CC
square
#9C46CC #CC5946 #76CC46 #46B9CC
split-complementary
#9C46CC #B9CC46 #46CC59
monochromatic
#582177 #7C2EA7 #9C46CC #B676D9 #CFA6E6

Accessibility & contrast

On white

5.05
#9C46CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9C46CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46CC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46CC#FFFFFF#000000##FFFFFF
##9C46CC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#966183
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9c46cc;
/* rgb */ color: rgb(156, 70, 204);
/* oklch */ color: oklch(56.6% 0.205 311.0);
Tailwind
colors: {
  custom: {
    50: '#bd7fdc',
    500: '#9c46cc',
    950: '#000000',
  },
}
SCSS
$custom: #9c46cc;
$custom-light: #bd7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46cc",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 278.507,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56578,
    "c": 0.20459,
    "h": 311
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#9C46CC
secondary
#AFD49A
accent
#E0487E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9C46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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