#7340C1#7340C1
#7340C1 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.191 H 297.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7340C1 |
|---|---|
| RGB | rgb(115, 64, 193) |
| HSL | hsl(264, 51%, 50%) |
| HSV | hsv(264, 67%, 76%) |
| CMYK | cmyk(40.4%, 66.8%, 0%, 24.3%) |
| CIE-LAB | lab(39.85, 49.17, -59.65) |
| CIE-LCH | lch(39.85, 77.30, 309.50°) |
| OKLab | oklab(50.3% 0.0872 -0.1702) |
| OKLCH | oklch(50.3% 0.191 297.1) |
| XYZ | xyz(18.5268, 11.1616, 51.6200) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.18
Bluish Purple
#703BE7
ΔE00 5.12
Burple
#6832E3
ΔE00 5.29
Blurple
#5539CC
ΔE00 5.35
Blue With A Hint Of Purple
#533CC6
ΔE00 5.41
Blueviolet
#8A2BE2
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7340C1 #8EC140
analogous
#404DC1 #7340C1 #B340C1
triadic
#7340C1 #C17340 #40C173
tetradic
#7340C1 #C1404D #8EC140 #40C1B3
square
#7340C1 #C1404D #8EC140 #40C1B3
split-complementary
#7340C1 #C1B340 #4DC140
monochromatic
#3C2166 #573094 #7340C1 #956ED0 #B79CDF
Accessibility & contrast
On white
6.50
#7340C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7340C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7340C1
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7340C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7340C1 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#605E7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7340c1; /* rgb */ color: rgb(115, 64, 193); /* oklch */ color: oklch(50.3% 0.191 297.1);
Tailwind
colors: {
custom: {
50: '#a178d5',
500: '#7340c1',
950: '#000000',
},
}SCSS
$custom: #7340c1; $custom-light: #a178d5; $custom-dark: #000000;
JSON
{
"hex": "#7340c1",
"rgb": {
"r": 115,
"g": 64,
"b": 193
},
"hsl": {
"h": 263.721,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.50296,
"c": 0.19128,
"h": 297.1
},
"luminance": 0.11162
}Semantic roles & 50–950 ramp
primary
#7340C1
secondary
#B4CB92
accent
#DA4DA3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83