#9C46DC#9C46DC
#9C46DC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.7% C 0.221 H 307.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9C46DC |
|---|---|
| RGB | rgb(156, 70, 220) |
| HSL | hsl(274, 68%, 57%) |
| HSV | hsv(274, 68%, 86%) |
| CMYK | cmyk(29.1%, 68.2%, 0%, 13.7%) |
| CIE-LAB | lab(47.77, 61.01, -62.15) |
| CIE-LCH | lch(47.77, 87.10, 314.47°) |
| OKLab | oklab(57.67% 0.1329 -0.1762) |
| OKLCH | oklch(57.67% 0.221 307) |
| XYZ | xyz(28.8160, 16.6159, 69.3854) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.80
Darkorchid
#9932CC
ΔE00 4.66
Purpley
#8756E4
ΔE00 5.09
Electric Purple
#AA23FF
ΔE00 5.13
Bright Violet
#AD0AFD
ΔE00 5.72
Vibrant Purple
#AD03DE
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C46DC #86DC46
analogous
#5146DC #9C46DC #DC46D1
triadic
#9C46DC #DC9C46 #46DC9C
tetradic
#9C46DC #DC5146 #86DC46 #46D1DC
square
#9C46DC #DC5146 #86DC46 #46D1DC
split-complementary
#9C46DC #D1DC46 #46DC51
monochromatic
#5C1B8D #7E24C0 #9C46DC #B879E6 #D3ADEF
Accessibility & contrast
On white
4.86
#9C46DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#9C46DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C46DC
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C46DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C46DC | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#91678C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9c46dc; /* rgb */ color: rgb(156, 70, 220); /* oklch */ color: oklch(57.7% 0.221 307.0);
Tailwind
colors: {
custom: {
50: '#be80e8',
500: '#9c46dc',
950: '#000000',
},
}SCSS
$custom: #9c46dc; $custom-light: #be80e8; $custom-dark: #000000;
JSON
{
"hex": "#9c46dc",
"rgb": {
"r": 156,
"g": 70,
"b": 220
},
"hsl": {
"h": 274.4,
"s": 68.182,
"l": 56.863
},
"oklch": {
"l": 0.57665,
"c": 0.22069,
"h": 307
},
"luminance": 0.16616
}Semantic roles & 50–950 ramp
primary
#9C46DC
secondary
#BADDA0
accent
#EB3D87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84