#9C46CE#9C46CE

#9C46CE is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.207 H 310.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9C46CE
RGBrgb(156, 70, 206)
HSLhsl(278, 58%, 54%)
HSVhsv(278, 66%, 81%)
CMYKcmyk(24.3%, 66%, 0%, 19.2%)
CIE-LABlab(46.85, 57.94, -55.63)
CIE-LCHlch(46.85, 80.32, 316.16°)
OKLaboklab(56.71% 0.1342 -0.1571)
OKLCHoklch(56.71% 0.207 310.5)
XYZxyz(27.0389, 15.9051, 60.0262)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46CE #78CE46
analogous
#5846CE #9C46CE #CE46BC
triadic
#9C46CE #CE9C46 #46CE9C
tetradic
#9C46CE #CE5846 #78CE46 #46BCCE
square
#9C46CE #CE5846 #78CE46 #46BCCE
split-complementary
#9C46CE #BCCE46 #46CE58
monochromatic
#592079 #7C2DAA #9C46CE #B676DB #D0A7E8

Accessibility & contrast

On white

5.02
#9C46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9C46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46CE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46CE#FFFFFF#000000##FFFFFF
##9C46CE1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3470CB
Tritanopia (blue-blind)
#956284
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9c46ce;
/* rgb */ color: rgb(156, 70, 206);
/* oklch */ color: oklch(56.7% 0.207 310.5);
Tailwind
colors: {
  custom: {
    50: '#bd7fde',
    500: '#9c46ce',
    950: '#000000',
  },
}
SCSS
$custom: #9c46ce;
$custom-light: #bd7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46ce",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 277.941,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.2066,
    "h": 310.5
  },
  "luminance": 0.15904
}

Semantic roles & 50–950 ramp

primary
#9C46CE
secondary
#B0D59B
accent
#E1467F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9C46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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