#9C46CF#9C46CF

#9C46CF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.208 H 310.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9C46CF
RGBrgb(156, 70, 207)
HSLhsl(278, 59%, 54%)
HSVhsv(278, 66%, 81%)
CMYKcmyk(24.6%, 66.2%, 0%, 18.8%)
CIE-LABlab(46.91, 58.15, -56.10)
CIE-LCHlch(46.91, 80.81, 316.03°)
OKLaboklab(56.78% 0.1341 -0.1585)
OKLCHoklch(56.78% 0.208 310.2)
XYZxyz(27.1608, 15.9538, 60.6680)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46CF #79CF46
analogous
#5846CF #9C46CF #CF46BE
triadic
#9C46CF #CF9C46 #46CF9C
tetradic
#9C46CF #CF5846 #79CF46 #46BECF
square
#9C46CF #CF5846 #79CF46 #46BECF
split-complementary
#9C46CF #BECF46 #46CF58
monochromatic
#59207B #7C2CAB #9C46CF #B677DC #D0A7E8

Accessibility & contrast

On white

5.01
#9C46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9C46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46CF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46CF#FFFFFF#000000##FFFFFF
##9C46CF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#956285
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9c46cf;
/* rgb */ color: rgb(156, 70, 207);
/* oklch */ color: oklch(56.8% 0.208 310.2);
Tailwind
colors: {
  custom: {
    50: '#bd7fde',
    500: '#9c46cf',
    950: '#000000',
  },
}
SCSS
$custom: #9c46cf;
$custom-light: #bd7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46cf",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 277.664,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.20761,
    "h": 310.2
  },
  "luminance": 0.15953
}

Semantic roles & 50–950 ramp

primary
#9C46CF
secondary
#B1D59B
accent
#E24680
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9C46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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