#7342E1#7342E1
#7342E1 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.225 H 290.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7342E1 |
|---|---|
| RGB | rgb(115, 66, 225) |
| HSL | hsl(258, 73%, 57%) |
| HSV | hsv(258, 71%, 88%) |
| CMYK | cmyk(48.9%, 70.7%, 0%, 11.8%) |
| CIE-LAB | lab(42.73, 56.65, -73.42) |
| CIE-LCH | lch(42.73, 92.73, 307.65°) |
| OKLab | oklab(53.13% 0.08 -0.2107) |
| OKLCH | oklch(53.13% 0.225 290.8) |
| XYZ | xyz(22.6052, 12.9766, 72.5332) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 1.52
Purpleish Blue
#6140EF
ΔE00 2.93
Burple
#6832E3
ΔE00 3.59
Purpley Blue
#5F34E7
ΔE00 4.04
Bluey Purple
#6241C7
ΔE00 4.44
Blueviolet
#8A2BE2
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7342E1 #B0E142
analogous
#4260E1 #7342E1 #C342E1
triadic
#7342E1 #E17342 #42E173
tetradic
#7342E1 #E14260 #B0E142 #42E1C3
square
#7342E1 #E14260 #B0E142 #42E1C3
split-complementary
#7342E1 #E1C342 #60E142
monochromatic
#3D1792 #531FC6 #7342E1 #9A77E9 #C1ACF2
Accessibility & contrast
On white
5.84
#7342E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7342E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7342E1
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7342E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7342E1 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#4E6B8D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7342e1; /* rgb */ color: rgb(115, 66, 225); /* oklch */ color: oklch(53.1% 0.225 290.8);
Tailwind
colors: {
custom: {
50: '#a57aec',
500: '#7342e1',
950: '#000000',
},
}SCSS
$custom: #7342e1; $custom-light: #a57aec; $custom-dark: #000000;
JSON
{
"hex": "#7342e1",
"rgb": {
"r": 115,
"g": 66,
"b": 225
},
"hsl": {
"h": 258.491,
"s": 72.603,
"l": 57.059
},
"oklch": {
"l": 0.53132,
"c": 0.22533,
"h": 290.8
},
"luminance": 0.12978
}Semantic roles & 50–950 ramp
primary
#7342E1
secondary
#CCE09F
accent
#EF38B7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84