#7340C9#7340C9
#7340C9 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.9% C 0.200 H 295.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7340C9 |
|---|---|
| RGB | rgb(115, 64, 201) |
| HSL | hsl(262, 56%, 52%) |
| HSV | hsv(262, 68%, 79%) |
| CMYK | cmyk(42.8%, 68.2%, 0%, 21.2%) |
| CIE-LAB | lab(40.46, 51.26, -63.33) |
| CIE-LCH | lch(40.46, 81.48, 308.99°) |
| OKLab | oklab(50.92% 0.0861 -0.181) |
| OKLCH | oklch(50.92% 0.2 295.4) |
| XYZ | xyz(19.4434, 11.5282, 56.4478) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.87
Bluish Purple
#703BE7
ΔE00 3.97
Burple
#6832E3
ΔE00 4.37
Blurple
#5539CC
ΔE00 5.01
Blueviolet
#8A2BE2
ΔE00 5.09
Purpley Blue
#5F34E7
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7340C9 #96C940
analogous
#4052C9 #7340C9 #B840C9
triadic
#7340C9 #C97340 #40C973
tetradic
#7340C9 #C94052 #96C940 #40C9B8
square
#7340C9 #C94052 #96C940 #40C9B8
split-complementary
#7340C9 #C9B840 #52C940
monochromatic
#3D1F6F #572D9F #7340C9 #9670D6 #B99FE4
Accessibility & contrast
On white
6.35
#7340C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#7340C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7340C9
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7340C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7340C9 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#5C617F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7340c9; /* rgb */ color: rgb(115, 64, 201); /* oklch */ color: oklch(50.9% 0.200 295.4);
Tailwind
colors: {
custom: {
50: '#a278da',
500: '#7340c9',
950: '#000000',
},
}SCSS
$custom: #7340c9; $custom-light: #a278da; $custom-dark: #000000;
JSON
{
"hex": "#7340c9",
"rgb": {
"r": 115,
"g": 64,
"b": 201
},
"hsl": {
"h": 262.336,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.5092,
"c": 0.20046,
"h": 295.4
},
"luminance": 0.11529
}Semantic roles & 50–950 ramp
primary
#7340C9
secondary
#BAD094
accent
#DF49A7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83