#9C46CC#9C46CC
#9C46CC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.205 H 311.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9C46CC |
|---|---|
| RGB | rgb(156, 70, 204) |
| HSL | hsl(279, 57%, 54%) |
| HSV | hsv(279, 66%, 80%) |
| CMYK | cmyk(23.5%, 65.7%, 0%, 20%) |
| CIE-LAB | lab(46.72, 57.51, -54.68) |
| CIE-LCH | lch(46.72, 79.36, 316.44°) |
| OKLab | oklab(56.58% 0.1344 -0.1543) |
| OKLCH | oklch(56.58% 0.205 311) |
| XYZ | xyz(26.7975, 15.8085, 58.7547) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.74
Purply
#983FB2
ΔE00 4.57
Lightish Purple
#A552E6
ΔE00 5.32
Vibrant Purple
#AD03DE
ΔE00 5.95
Amethyst
#9B5FC0
ΔE00 6.29
Purpley
#8756E4
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C46CC #76CC46
analogous
#5946CC #9C46CC #CC46B9
triadic
#9C46CC #CC9C46 #46CC9C
tetradic
#9C46CC #CC5946 #76CC46 #46B9CC
square
#9C46CC #CC5946 #76CC46 #46B9CC
split-complementary
#9C46CC #B9CC46 #46CC59
monochromatic
#582177 #7C2EA7 #9C46CC #B676D9 #CFA6E6
Accessibility & contrast
On white
5.05
#9C46CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#9C46CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C46CC
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C46CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C46CC | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#966183
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9c46cc; /* rgb */ color: rgb(156, 70, 204); /* oklch */ color: oklch(56.6% 0.205 311.0);
Tailwind
colors: {
custom: {
50: '#bd7fdc',
500: '#9c46cc',
950: '#000000',
},
}SCSS
$custom: #9c46cc; $custom-light: #bd7fdc; $custom-dark: #000000;
JSON
{
"hex": "#9c46cc",
"rgb": {
"r": 156,
"g": 70,
"b": 204
},
"hsl": {
"h": 278.507,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.56578,
"c": 0.20459,
"h": 311
},
"luminance": 0.15808
}Semantic roles & 50–950 ramp
primary
#9C46CC
secondary
#AFD49A
accent
#E0487E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83