#9C46D1#9C46D1

#9C46D1 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.210 H 309.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9C46D1
RGBrgb(156, 70, 209)
HSLhsl(277, 60%, 55%)
HSVhsv(277, 67%, 82%)
CMYKcmyk(25.4%, 66.5%, 0%, 18%)
CIE-LABlab(47.04, 58.59, -57.04)
CIE-LCHlch(47.04, 81.77, 315.77°)
OKLaboklab(56.91% 0.134 -0.1612)
OKLCHoklch(56.91% 0.21 309.7)
XYZxyz(27.4068, 16.0522, 61.9639)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C46D1 #7BD146
analogous
#5646D1 #9C46D1 #D146C1
triadic
#9C46D1 #D19C46 #46D19C
tetradic
#9C46D1 #D15646 #7BD146 #46C1D1
square
#9C46D1 #D15646 #7BD146 #46C1D1
split-complementary
#9C46D1 #C1D146 #46D156
monochromatic
#591F7D #7C2BAE #9C46D1 #B677DD #D0A8E9

Accessibility & contrast

On white

4.99
#9C46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9C46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C46D1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C46D1#FFFFFF#000000##FFFFFF
##9C46D11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#3071CE
Tritanopia (blue-blind)
#956386
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c46d1;
/* rgb */ color: rgb(156, 70, 209);
/* oklch */ color: oklch(56.9% 0.210 309.7);
Tailwind
colors: {
  custom: {
    50: '#bd7fe0',
    500: '#9c46d1',
    950: '#000000',
  },
}
SCSS
$custom: #9c46d1;
$custom-light: #bd7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c46d1",
  "rgb": {
    "r": 156,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 277.122,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.20962,
    "h": 309.7
  },
  "luminance": 0.16052
}

Semantic roles & 50–950 ramp

primary
#9C46D1
secondary
#B2D79C
accent
#E34481
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9C46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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