#9C46DC#9C46DC

#9C46DC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.7% C 0.221 H 307.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9C46DC
RGBrgb(156, 70, 220)
HSLhsl(274, 68%, 57%)
HSVhsv(274, 68%, 86%)
CMYKcmyk(29.1%, 68.2%, 0%, 13.7%)
CIE-LABlab(47.77, 61.01, -62.15)
CIE-LCHlch(47.77, 87.10, 314.47°)
OKLaboklab(57.67% 0.1329 -0.1762)
OKLCHoklch(57.67% 0.221 307)
XYZxyz(28.8160, 16.6159, 69.3854)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46DC #86DC46
analogous
#5146DC #9C46DC #DC46D1
triadic
#9C46DC #DC9C46 #46DC9C
tetradic
#9C46DC #DC5146 #86DC46 #46D1DC
square
#9C46DC #DC5146 #86DC46 #46D1DC
split-complementary
#9C46DC #D1DC46 #46DC51
monochromatic
#5C1B8D #7E24C0 #9C46DC #B879E6 #D3ADEF

Accessibility & contrast

On white

4.86
#9C46DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9C46DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46DC#FFFFFF#000000##FFFFFF
##9C46DC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#91678C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c46dc;
/* rgb */ color: rgb(156, 70, 220);
/* oklch */ color: oklch(57.7% 0.221 307.0);
Tailwind
colors: {
  custom: {
    50: '#be80e8',
    500: '#9c46dc',
    950: '#000000',
  },
}
SCSS
$custom: #9c46dc;
$custom-light: #be80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46dc",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 274.4,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.22069,
    "h": 307
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#9C46DC
secondary
#BADDA0
accent
#EB3D87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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