#8046E8#8046E8
#8046E8 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.229 H 294.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8046E8 |
|---|---|
| RGB | rgb(128, 70, 232) |
| HSL | hsl(261, 78%, 59%) |
| HSV | hsv(261, 70%, 91%) |
| CMYK | cmyk(44.8%, 69.8%, 0%, 9%) |
| CIE-LAB | lab(45.35, 58.68, -73.05) |
| CIE-LCH | lch(45.35, 93.70, 308.78°) |
| OKLab | oklab(55.49% 0.0932 -0.2092) |
| OKLCH | oklch(55.49% 0.229 294) |
| XYZ | xyz(25.6538, 14.7950, 77.8324) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.62
Purpley
#8756E4
ΔE00 4.00
Blueviolet
#8A2BE2
ΔE00 4.72
Purpleish Blue
#6140EF
ΔE00 4.79
Burple
#6832E3
ΔE00 5.88
Violet
#8F00FF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8046E8 #AEE846
analogous
#465DE8 #8046E8 #D146E8
triadic
#8046E8 #E88046 #46E880
tetradic
#8046E8 #E8465D #AEE846 #46E8D1
square
#8046E8 #E8465D #AEE846 #46E8D1
split-complementary
#8046E8 #E8D146 #5DE846
monochromatic
#4614A0 #5E1BD6 #8046E8 #A57CEF #CBB3F6
Accessibility & contrast
On white
5.30
#8046E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8046E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8046E8
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8046E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8046E8 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#626F92
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8046e8; /* rgb */ color: rgb(128, 70, 232); /* oklch */ color: oklch(55.5% 0.229 294.0);
Tailwind
colors: {
custom: {
50: '#ad7ef0',
500: '#8046e8',
950: '#000000',
},
}SCSS
$custom: #8046e8; $custom-light: #ad7ef0; $custom-dark: #000000;
JSON
{
"hex": "#8046e8",
"rgb": {
"r": 128,
"g": 70,
"b": 232
},
"hsl": {
"h": 261.481,
"s": 77.885,
"l": 59.216
},
"oklch": {
"l": 0.55486,
"c": 0.22899,
"h": 294
},
"luminance": 0.14796
}Semantic roles & 50–950 ramp
primary
#8046E8
secondary
#CEE5A5
accent
#F433AF
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85