#7342CF#7342CF
#7342CF is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.205 H 294.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7342CF |
|---|---|
| RGB | rgb(115, 66, 207) |
| HSL | hsl(261, 59%, 54%) |
| HSV | hsv(261, 68%, 81%) |
| CMYK | cmyk(44.4%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(41.29, 51.83, -65.45) |
| CIE-LCH | lch(41.29, 83.49, 308.38°) |
| OKLab | oklab(51.66% 0.0832 -0.1873) |
| OKLCH | oklch(51.66% 0.205 294) |
| XYZ | xyz(20.2779, 12.0457, 60.2760) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.01
Bluish Purple
#703BE7
ΔE00 3.24
Burple
#6832E3
ΔE00 4.10
Purpleish Blue
#6140EF
ΔE00 4.76
Purpley Blue
#5F34E7
ΔE00 4.79
Blueviolet
#8A2BE2
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7342CF #9ECF42
analogous
#4257CF #7342CF #B942CF
triadic
#7342CF #CF7342 #42CF73
tetradic
#7342CF #CF4257 #9ECF42 #42CFB9
square
#7342CF #CF4257 #9ECF42 #42CFB9
split-complementary
#7342CF #CFB942 #57CF42
monochromatic
#3E1F78 #572BA9 #7342CF #9773DB #BBA4E8
Accessibility & contrast
On white
6.16
#7342CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#7342CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7342CF
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7342CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7342CF | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#596583
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7342cf; /* rgb */ color: rgb(115, 66, 207); /* oklch */ color: oklch(51.7% 0.205 294.0);
Tailwind
colors: {
custom: {
50: '#a37adf',
500: '#7342cf',
950: '#000000',
},
}SCSS
$custom: #7342cf; $custom-light: #a37adf; $custom-dark: #000000;
JSON
{
"hex": "#7342cf",
"rgb": {
"r": 115,
"g": 66,
"b": 207
},
"hsl": {
"h": 260.851,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.5166,
"c": 0.2049,
"h": 294
},
"luminance": 0.12046
}Semantic roles & 50–950 ramp
primary
#7342CF
secondary
#C0D598
accent
#E345AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83