#7345C2#7345C2
#7345C2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.186 H 296.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7345C2 |
|---|---|
| RGB | rgb(115, 69, 194) |
| HSL | hsl(262, 51%, 52%) |
| HSV | hsv(262, 64%, 76%) |
| CMYK | cmyk(40.7%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(40.89, 46.80, -58.55) |
| CIE-LCH | lch(40.89, 74.96, 308.63°) |
| OKLab | oklab(51.07% 0.0817 -0.167) |
| OKLCH | oklch(51.07% 0.186 296.1) |
| XYZ | xyz(18.9334, 11.7957, 52.3077) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.26
Bluish Purple
#703BE7
ΔE00 5.16
Royal Purple
#7851A9
ΔE00 5.72
Blue With A Hint Of Purple
#533CC6
ΔE00 5.72
Burple
#6832E3
ΔE00 5.75
Blurple
#5539CC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7345C2 #94C245
analogous
#4556C2 #7345C2 #B245C2
triadic
#7345C2 #C27345 #45C273
tetradic
#7345C2 #C24556 #94C245 #45C2B2
square
#7345C2 #C24556 #94C245 #45C2B2
split-complementary
#7345C2 #C2B245 #56C245
monochromatic
#3D236A #573298 #7345C2 #9673D1 #B8A1E0
Accessibility & contrast
On white
6.25
#7345C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7345C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7345C2
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7345C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7345C2 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#5F627D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7345c2; /* rgb */ color: rgb(115, 69, 194); /* oklch */ color: oklch(51.1% 0.186 296.1);
Tailwind
colors: {
custom: {
50: '#a17bd5',
500: '#7345c2',
950: '#000000',
},
}SCSS
$custom: #7345c2; $custom-light: #a17bd5; $custom-dark: #000000;
JSON
{
"hex": "#7345c2",
"rgb": {
"r": 115,
"g": 69,
"b": 194
},
"hsl": {
"h": 262.08,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.51067,
"c": 0.18594,
"h": 296.1
},
"luminance": 0.11796
}Semantic roles & 50–950 ramp
primary
#7345C2
secondary
#B9CD96
accent
#DA4EA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83