#7342C7#7342C7
#7342C7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.196 H 295.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7342C7 |
|---|---|
| RGB | rgb(115, 66, 199) |
| HSL | hsl(262, 54%, 52%) |
| HSV | hsv(262, 67%, 78%) |
| CMYK | cmyk(42.2%, 66.8%, 0%, 22%) |
| CIE-LAB | lab(40.68, 49.71, -61.81) |
| CIE-LCH | lch(40.68, 79.32, 308.81°) |
| OKLab | oklab(51.03% 0.0844 -0.1766) |
| OKLCH | oklch(51.03% 0.196 295.5) |
| XYZ | xyz(19.3245, 11.6644, 55.2551) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.92
Bluish Purple
#703BE7
ΔE00 4.31
Burple
#6832E3
ΔE00 4.82
Blurple
#5539CC
ΔE00 5.24
Blue With A Hint Of Purple
#533CC6
ΔE00 5.36
Blueviolet
#8A2BE2
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7342C7 #96C742
analogous
#4254C7 #7342C7 #B642C7
triadic
#7342C7 #C77342 #42C773
tetradic
#7342C7 #C74254 #96C742 #42C7B6
square
#7342C7 #C74254 #96C742 #42C7B6
split-complementary
#7342C7 #C7B642 #54C742
monochromatic
#3D216E #572F9D #7342C7 #9671D5 #B9A0E3
Accessibility & contrast
On white
6.30
#7342C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#7342C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7342C7
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7342C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7342C7 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#5D627F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7342c7; /* rgb */ color: rgb(115, 66, 199); /* oklch */ color: oklch(51.0% 0.196 295.5);
Tailwind
colors: {
custom: {
50: '#a27ad9',
500: '#7342c7',
950: '#000000',
},
}SCSS
$custom: #7342c7; $custom-light: #a27ad9; $custom-dark: #000000;
JSON
{
"hex": "#7342c7",
"rgb": {
"r": 115,
"g": 66,
"b": 199
},
"hsl": {
"h": 262.105,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.51031,
"c": 0.19568,
"h": 295.5
},
"luminance": 0.11665
}Semantic roles & 50–950 ramp
primary
#7342C7
secondary
#BAD095
accent
#DE4AA7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83