#9C46DB#9C46DB

#9C46DB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.220 H 307.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9C46DB
RGBrgb(156, 70, 219)
HSLhsl(275, 67%, 57%)
HSVhsv(275, 68%, 86%)
CMYKcmyk(28.8%, 68%, 0%, 14.1%)
CIE-LABlab(47.70, 60.79, -61.69)
CIE-LCHlch(47.70, 86.61, 314.58°)
OKLaboklab(57.6% 0.133 -0.1749)
OKLCHoklch(57.6% 0.22 307.2)
XYZxyz(28.6839, 16.5631, 68.6900)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46DB #85DB46
analogous
#5246DB #9C46DB #DB46D0
triadic
#9C46DB #DB9C46 #46DB9C
tetradic
#9C46DB #DB5246 #85DB46 #46D0DB
square
#9C46DB #DB5246 #85DB46 #46D0DB
split-complementary
#9C46DB #D0DB46 #46DB52
monochromatic
#5C1B8B #7E25BF #9C46DB #B779E5 #D3ACEF

Accessibility & contrast

On white

4.87
#9C46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9C46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46DB#FFFFFF#000000##FFFFFF
##9C46DB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#1F72D8
Tritanopia (blue-blind)
#92678B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c46db;
/* rgb */ color: rgb(156, 70, 219);
/* oklch */ color: oklch(57.6% 0.220 307.2);
Tailwind
colors: {
  custom: {
    50: '#be80e7',
    500: '#9c46db',
    950: '#000000',
  },
}
SCSS
$custom: #9c46db;
$custom-light: #be80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46db",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 274.631,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.21969,
    "h": 307.2
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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