#9C46CA#9C46CA
#9C46CA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.203 H 311.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9C46CA |
|---|---|
| RGB | rgb(156, 70, 202) |
| HSL | hsl(279, 55%, 53%) |
| HSV | hsv(279, 65%, 79%) |
| CMYK | cmyk(22.8%, 65.3%, 0%, 20.8%) |
| CIE-LAB | lab(46.60, 57.08, -53.73) |
| CIE-LCH | lch(46.60, 78.39, 316.73°) |
| OKLab | oklab(56.45% 0.1345 -0.1515) |
| OKLCH | oklch(56.45% 0.203 311.6) |
| XYZ | xyz(26.5592, 15.7132, 57.4995) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.74
Purply
#983FB2
ΔE00 4.27
Lightish Purple
#A552E6
ΔE00 5.56
Vibrant Purple
#AD03DE
ΔE00 6.02
Amethyst
#9B5FC0
ΔE00 6.23
Barney
#AC1DB8
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C46CA #74CA46
analogous
#5A46CA #9C46CA #CA46B6
triadic
#9C46CA #CA9C46 #46CA9C
tetradic
#9C46CA #CA5A46 #74CA46 #46B6CA
square
#9C46CA #CA5A46 #74CA46 #46B6CA
split-complementary
#9C46CA #B6CA46 #46CA5A
monochromatic
#572174 #7B2FA4 #9C46CA #B576D8 #CFA5E5
Accessibility & contrast
On white
5.07
#9C46CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9C46CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C46CA
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C46CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C46CA | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#966082
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9c46ca; /* rgb */ color: rgb(156, 70, 202); /* oklch */ color: oklch(56.4% 0.203 311.6);
Tailwind
colors: {
custom: {
50: '#bd7fdb',
500: '#9c46ca',
950: '#000000',
},
}SCSS
$custom: #9c46ca; $custom-light: #bd7fdb; $custom-dark: #000000;
JSON
{
"hex": "#9c46ca",
"rgb": {
"r": 156,
"g": 70,
"b": 202
},
"hsl": {
"h": 279.091,
"s": 55.462,
"l": 53.333
},
"oklch": {
"l": 0.56447,
"c": 0.20258,
"h": 311.6
},
"luminance": 0.15713
}Semantic roles & 50–950 ramp
primary
#9C46CA
secondary
#ADD29A
accent
#DF497D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83