#8046C8#8046C8
#8046C8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.193 H 300.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8046C8 |
|---|---|
| RGB | rgb(128, 70, 200) |
| HSL | hsl(267, 54%, 53%) |
| HSV | hsv(267, 65%, 78%) |
| CMYK | cmyk(36%, 65%, 0%, 21.6%) |
| CIE-LAB | lab(42.97, 50.53, -58.60) |
| CIE-LCH | lch(42.97, 77.37, 310.77°) |
| OKLab | oklab(53.04% 0.0978 -0.1667) |
| OKLCH | oklch(53.04% 0.193 300.4) |
| XYZ | xyz(21.5150, 13.1395, 56.0351) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.07
Blueviolet
#8A2BE2
ΔE00 5.10
Bluish Purple
#703BE7
ΔE00 5.42
Bluey Purple
#6241C7
ΔE00 5.47
Royal Purple
#7851A9
ΔE00 5.86
Purpley
#8756E4
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8046C8 #8EC846
analogous
#464DC8 #8046C8 #C146C8
triadic
#8046C8 #C88046 #46C880
tetradic
#8046C8 #C8464D #8EC846 #46C8C1
square
#8046C8 #C8464D #8EC846 #46C8C1
split-complementary
#8046C8 #C8C146 #4DC846
monochromatic
#452272 #6230A1 #8046C8 #A075D6 #C1A4E4
Accessibility & contrast
On white
5.79
#8046C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#8046C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8046C8
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8046C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8046C8 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0165C5
Tritanopia (blue-blind)
#706381
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8046c8; /* rgb */ color: rgb(128, 70, 200); /* oklch */ color: oklch(53.0% 0.193 300.4);
Tailwind
colors: {
custom: {
50: '#aa7dd9',
500: '#8046c8',
950: '#000000',
},
}SCSS
$custom: #8046c8; $custom-light: #aa7dd9; $custom-dark: #000000;
JSON
{
"hex": "#8046c8",
"rgb": {
"r": 128,
"g": 70,
"b": 200
},
"hsl": {
"h": 266.769,
"s": 54.167,
"l": 52.941
},
"oklch": {
"l": 0.53037,
"c": 0.19326,
"h": 300.4
},
"luminance": 0.1314
}Semantic roles & 50–950 ramp
primary
#8046C8
secondary
#B8D199
accent
#DE4A9C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83