#8046E9#8046E9
#8046E9 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.230 H 293.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8046E9 |
|---|---|
| RGB | rgb(128, 70, 233) |
| HSL | hsl(261, 79%, 59%) |
| HSV | hsv(261, 70%, 91%) |
| CMYK | cmyk(45.1%, 70%, 0%, 8.6%) |
| CIE-LAB | lab(45.43, 58.94, -73.48) |
| CIE-LCH | lch(45.43, 94.20, 308.73°) |
| OKLab | oklab(55.57% 0.093 -0.2105) |
| OKLCH | oklch(55.57% 0.23 293.8) |
| XYZ | xyz(25.7962, 14.8519, 78.5826) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.65
Purpley
#8756E4
ΔE00 3.99
Purpleish Blue
#6140EF
ΔE00 4.77
Blueviolet
#8A2BE2
ΔE00 4.77
Burple
#6832E3
ΔE00 5.92
Violet
#8F00FF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8046E9 #AFE946
analogous
#465EE9 #8046E9 #D246E9
triadic
#8046E9 #E98046 #46E980
tetradic
#8046E9 #E9465E #AFE946 #46E9D2
square
#8046E9 #E9465E #AFE946 #46E9D2
split-complementary
#8046E9 #E9D246 #5EE946
monochromatic
#4613A1 #5D1AD8 #8046E9 #A67DF0 #CBB3F6
Accessibility & contrast
On white
5.29
#8046E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#8046E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8046E9
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8046E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8046E9 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#616F93
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8046e9; /* rgb */ color: rgb(128, 70, 233); /* oklch */ color: oklch(55.6% 0.230 293.8);
Tailwind
colors: {
custom: {
50: '#ad7ef1',
500: '#8046e9',
950: '#000000',
},
}SCSS
$custom: #8046e9; $custom-light: #ad7ef1; $custom-dark: #000000;
JSON
{
"hex": "#8046e9",
"rgb": {
"r": 128,
"g": 70,
"b": 233
},
"hsl": {
"h": 261.35,
"s": 78.744,
"l": 59.412
},
"oklch": {
"l": 0.55566,
"c": 0.23008,
"h": 293.8
},
"luminance": 0.14853
}Semantic roles & 50–950 ramp
primary
#8046E9
secondary
#CFE5A6
accent
#F533B0
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85