#8D46DC#8D46DC
#8D46DC is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.217 H 301.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8D46DC |
|---|---|
| RGB | rgb(141, 70, 220) |
| HSL | hsl(268, 68%, 57%) |
| HSV | hsv(268, 68%, 86%) |
| CMYK | cmyk(35.9%, 68.2%, 0%, 13.7%) |
| CIE-LAB | lab(45.92, 58.05, -65.24) |
| CIE-LCH | lch(45.92, 87.33, 311.66°) |
| OKLab | oklab(55.94% 0.1129 -0.1858) |
| OKLCH | oklch(55.94% 0.217 301.3) |
| XYZ | xyz(26.0898, 15.2102, 69.2576) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.07
Blueviolet
#8A2BE2
ΔE00 4.55
Darkorchid
#9932CC
ΔE00 4.77
Bluish Purple
#703BE7
ΔE00 5.67
Lightish Purple
#A552E6
ΔE00 5.89
Violet (survey)
#9A0EEA
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D46DC #95DC46
analogous
#464ADC #8D46DC #D846DC
triadic
#8D46DC #DC8D46 #46DC8D
tetradic
#8D46DC #DC464A #95DC46 #46DCD8
square
#8D46DC #DC464A #95DC46 #46DCD8
split-complementary
#8D46DC #DCD846 #4ADC46
monochromatic
#511B8D #6E24C0 #8D46DC #AD79E6 #CCADEF
Accessibility & contrast
On white
5.20
#8D46DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#8D46DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D46DC
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D46DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D46DC | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#7C698C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8d46dc; /* rgb */ color: rgb(141, 70, 220); /* oklch */ color: oklch(55.9% 0.217 301.3);
Tailwind
colors: {
custom: {
50: '#b47ee8',
500: '#8d46dc',
950: '#000000',
},
}SCSS
$custom: #8d46dc; $custom-light: #b47ee8; $custom-dark: #000000;
JSON
{
"hex": "#8d46dc",
"rgb": {
"r": 141,
"g": 70,
"b": 220
},
"hsl": {
"h": 268.4,
"s": 68.182,
"l": 56.863
},
"oklch": {
"l": 0.5594,
"c": 0.21743,
"h": 301.3
},
"luminance": 0.1521
}Semantic roles & 50–950 ramp
primary
#8D46DC
secondary
#C1DDA0
accent
#EB3D99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84