#7340C0#7340C0
#7340C0 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.190 H 297.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7340C0 |
|---|---|
| RGB | rgb(115, 64, 192) |
| HSL | hsl(264, 50%, 50%) |
| HSV | hsv(264, 67%, 75%) |
| CMYK | cmyk(40.1%, 66.7%, 0%, 24.7%) |
| CIE-LAB | lab(39.78, 48.91, -59.19) |
| CIE-LCH | lch(39.78, 76.78, 309.57°) |
| OKLab | oklab(50.22% 0.0874 -0.1689) |
| OKLCH | oklch(50.22% 0.19 297.4) |
| XYZ | xyz(18.4156, 11.1171, 51.0345) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.25
Bluish Purple
#703BE7
ΔE00 5.27
Burple
#6832E3
ΔE00 5.41
Blurple
#5539CC
ΔE00 5.41
Blue With A Hint Of Purple
#533CC6
ΔE00 5.46
Blueviolet
#8A2BE2
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7340C0 #8DC040
analogous
#404DC0 #7340C0 #B340C0
triadic
#7340C0 #C07340 #40C073
tetradic
#7340C0 #C0404D #8DC040 #40C0B3
square
#7340C0 #C0404D #8DC040 #40C0B3
split-complementary
#7340C0 #C0B340 #4DC040
monochromatic
#3C2164 #573092 #7340C0 #956ECF #B69CDE
Accessibility & contrast
On white
6.51
#7340C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#7340C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7340C0
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7340C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7340C0 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#605E7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7340c0; /* rgb */ color: rgb(115, 64, 192); /* oklch */ color: oklch(50.2% 0.190 297.4);
Tailwind
colors: {
custom: {
50: '#a178d4',
500: '#7340c0',
950: '#000000',
},
}SCSS
$custom: #7340c0; $custom-light: #a178d4; $custom-dark: #000000;
JSON
{
"hex": "#7340c0",
"rgb": {
"r": 115,
"g": 64,
"b": 192
},
"hsl": {
"h": 263.906,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.5022,
"c": 0.19013,
"h": 297.4
},
"luminance": 0.11117
}Semantic roles & 50–950 ramp
primary
#7340C0
secondary
#B4CB91
accent
#DA4EA2
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83