#8346C2#8346C2
#8346C2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.187 H 303.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8346C2 |
|---|---|
| RGB | rgb(131, 70, 194) |
| HSL | hsl(270, 50%, 52%) |
| HSV | hsv(270, 64%, 76%) |
| CMYK | cmyk(32.5%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(42.91, 49.69, -55.19) |
| CIE-LCH | lch(42.91, 74.27, 312.00°) |
| OKLab | oklab(52.94% 0.1023 -0.1566) |
| OKLCH | oklch(52.94% 0.187 303.2) |
| XYZ | xyz(21.2856, 13.1007, 52.4358) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.65
Royal Purple
#7851A9
ΔE00 5.22
Purply
#983FB2
ΔE00 5.60
Blueviolet
#8A2BE2
ΔE00 5.65
Bluey Purple
#6241C7
ΔE00 6.27
Bluish Purple
#703BE7
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8346C2 #85C246
analogous
#4647C2 #8346C2 #C146C2
triadic
#8346C2 #C28346 #46C283
tetradic
#8346C2 #C24647 #85C246 #46C2C1
square
#8346C2 #C24647 #85C246 #46C2C1
split-complementary
#8346C2 #C2C146 #47C246
monochromatic
#46236A #653299 #8346C2 #A274D1 #C1A2E0
Accessibility & contrast
On white
5.80
#8346C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#8346C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8346C2
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8346C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8346C2 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#1E65BF
Tritanopia (blue-blind)
#77617E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8346c2; /* rgb */ color: rgb(131, 70, 194); /* oklch */ color: oklch(52.9% 0.187 303.2);
Tailwind
colors: {
custom: {
50: '#ab7dd5',
500: '#8346c2',
950: '#000000',
},
}SCSS
$custom: #8346c2; $custom-light: #ab7dd5; $custom-dark: #000000;
JSON
{
"hex": "#8346c2",
"rgb": {
"r": 131,
"g": 70,
"b": 194
},
"hsl": {
"h": 269.516,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.52943,
"c": 0.18707,
"h": 303.2
},
"luminance": 0.13101
}Semantic roles & 50–950 ramp
primary
#8346C2
secondary
#B2CD97
accent
#DA4E95
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83