#8C46DC#8C46DC
#8C46DC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.217 H 300.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8C46DC |
|---|---|
| RGB | rgb(140, 70, 220) |
| HSL | hsl(268, 68%, 57%) |
| HSV | hsv(268, 68%, 86%) |
| CMYK | cmyk(36.4%, 68.2%, 0%, 13.7%) |
| CIE-LAB | lab(45.80, 57.86, -65.44) |
| CIE-LCH | lch(45.80, 87.35, 311.48°) |
| OKLab | oklab(55.83% 0.1116 -0.1864) |
| OKLCH | oklch(55.83% 0.217 300.9) |
| XYZ | xyz(25.9205, 15.1229, 69.2497) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.06
Blueviolet
#8A2BE2
ΔE00 4.49
Darkorchid
#9932CC
ΔE00 4.84
Bluish Purple
#703BE7
ΔE00 5.51
Violet (survey)
#9A0EEA
ΔE00 5.91
Lightish Purple
#A552E6
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C46DC #96DC46
analogous
#464BDC #8C46DC #D746DC
triadic
#8C46DC #DC8C46 #46DC8C
tetradic
#8C46DC #DC464B #96DC46 #46DCD7
square
#8C46DC #DC464B #96DC46 #46DCD7
split-complementary
#8C46DC #DCD746 #4BDC46
monochromatic
#501B8D #6D24C0 #8C46DC #AC79E6 #CCADEF
Accessibility & contrast
On white
5.22
#8C46DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#8C46DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C46DC
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C46DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C46DC | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#7B698C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8c46dc; /* rgb */ color: rgb(140, 70, 220); /* oklch */ color: oklch(55.8% 0.217 300.9);
Tailwind
colors: {
custom: {
50: '#b37ee8',
500: '#8c46dc',
950: '#000000',
},
}SCSS
$custom: #8c46dc; $custom-light: #b37ee8; $custom-dark: #000000;
JSON
{
"hex": "#8c46dc",
"rgb": {
"r": 140,
"g": 70,
"b": 220
},
"hsl": {
"h": 268,
"s": 68.182,
"l": 56.863
},
"oklch": {
"l": 0.55829,
"c": 0.21727,
"h": 300.9
},
"luminance": 0.15123
}Semantic roles & 50–950 ramp
primary
#8C46DC
secondary
#C1DDA0
accent
#EB3D9A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84