#7340C6#7340C6
#7340C6 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.197 H 296.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7340C6 |
|---|---|
| RGB | rgb(115, 64, 198) |
| HSL | hsl(263, 54%, 51%) |
| HSV | hsv(263, 68%, 78%) |
| CMYK | cmyk(41.9%, 67.7%, 0%, 22.4%) |
| CIE-LAB | lab(40.23, 50.48, -61.96) |
| CIE-LCH | lch(40.23, 79.92, 309.17°) |
| OKLab | oklab(50.68% 0.0866 -0.177) |
| OKLCH | oklch(50.68% 0.197 296.1) |
| XYZ | xyz(19.0940, 11.3884, 54.6073) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.93
Bluish Purple
#703BE7
ΔE00 4.39
Burple
#6832E3
ΔE00 4.69
Blurple
#5539CC
ΔE00 5.10
Blue With A Hint Of Purple
#533CC6
ΔE00 5.26
Blueviolet
#8A2BE2
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7340C6 #93C640
analogous
#4050C6 #7340C6 #B640C6
triadic
#7340C6 #C67340 #40C673
tetradic
#7340C6 #C64050 #93C640 #40C6B6
square
#7340C6 #C64050 #93C640 #40C6B6
split-complementary
#7340C6 #C6B640 #50C640
monochromatic
#3D206C #572E9B #7340C6 #966FD4 #B89EE2
Accessibility & contrast
On white
6.41
#7340C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#7340C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7340C6
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7340C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7340C6 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#5D607E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7340c6; /* rgb */ color: rgb(115, 64, 198); /* oklch */ color: oklch(50.7% 0.197 296.1);
Tailwind
colors: {
custom: {
50: '#a278d8',
500: '#7340c6',
950: '#000000',
},
}SCSS
$custom: #7340c6; $custom-light: #a278d8; $custom-dark: #000000;
JSON
{
"hex": "#7340c6",
"rgb": {
"r": 115,
"g": 64,
"b": 198
},
"hsl": {
"h": 262.836,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.50684,
"c": 0.19703,
"h": 296.1
},
"luminance": 0.11389
}Semantic roles & 50–950 ramp
primary
#7340C6
secondary
#B8CE93
accent
#DD4AA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83