#9C46CA#9C46CA

#9C46CA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.203 H 311.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9C46CA
RGBrgb(156, 70, 202)
HSLhsl(279, 55%, 53%)
HSVhsv(279, 65%, 79%)
CMYKcmyk(22.8%, 65.3%, 0%, 20.8%)
CIE-LABlab(46.60, 57.08, -53.73)
CIE-LCHlch(46.60, 78.39, 316.73°)
OKLaboklab(56.45% 0.1345 -0.1515)
OKLCHoklch(56.45% 0.203 311.6)
XYZxyz(26.5592, 15.7132, 57.4995)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46CA #74CA46
analogous
#5A46CA #9C46CA #CA46B6
triadic
#9C46CA #CA9C46 #46CA9C
tetradic
#9C46CA #CA5A46 #74CA46 #46B6CA
square
#9C46CA #CA5A46 #74CA46 #46B6CA
split-complementary
#9C46CA #B6CA46 #46CA5A
monochromatic
#572174 #7B2FA4 #9C46CA #B576D8 #CFA5E5

Accessibility & contrast

On white

5.07
#9C46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9C46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46CA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46CA#FFFFFF#000000##FFFFFF
##9C46CA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#966082
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c46ca;
/* rgb */ color: rgb(156, 70, 202);
/* oklch */ color: oklch(56.4% 0.203 311.6);
Tailwind
colors: {
  custom: {
    50: '#bd7fdb',
    500: '#9c46ca',
    950: '#000000',
  },
}
SCSS
$custom: #9c46ca;
$custom-light: #bd7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46ca",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 279.091,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.20258,
    "h": 311.6
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#9C46CA
secondary
#ADD29A
accent
#DF497D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9C46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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