#7342CB#7342CB
#7342CB is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.3% C 0.200 H 294.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7342CB |
|---|---|
| RGB | rgb(115, 66, 203) |
| HSL | hsl(261, 57%, 53%) |
| HSV | hsv(261, 67%, 80%) |
| CMYK | cmyk(43.3%, 67.5%, 0%, 20.4%) |
| CIE-LAB | lab(40.98, 50.77, -63.63) |
| CIE-LCH | lch(40.98, 81.40, 308.58°) |
| OKLab | oklab(51.34% 0.0838 -0.1819) |
| OKLCH | oklch(51.34% 0.2 294.7) |
| XYZ | xyz(19.7950, 11.8526, 57.7332) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.91
Bluish Purple
#703BE7
ΔE00 3.76
Burple
#6832E3
ΔE00 4.43
Purpley Blue
#5F34E7
ΔE00 5.14
Blurple
#5539CC
ΔE00 5.16
Blueviolet
#8A2BE2
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7342CB #9ACB42
analogous
#4255CB #7342CB #B742CB
triadic
#7342CB #CB7342 #42CB73
tetradic
#7342CB #CB4255 #9ACB42 #42CBB7
square
#7342CB #CB4255 #9ACB42 #42CBB7
split-complementary
#7342CB #CBB742 #55CB42
monochromatic
#3D2073 #572DA3 #7342CB #9772D8 #BAA2E5
Accessibility & contrast
On white
6.23
#7342CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7342CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7342CB
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7342CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7342CB | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#5B6381
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7342cb; /* rgb */ color: rgb(115, 66, 203); /* oklch */ color: oklch(51.3% 0.200 294.7);
Tailwind
colors: {
custom: {
50: '#a27adc',
500: '#7342cb',
950: '#000000',
},
}SCSS
$custom: #7342cb; $custom-light: #a27adc; $custom-dark: #000000;
JSON
{
"hex": "#7342cb",
"rgb": {
"r": 115,
"g": 66,
"b": 203
},
"hsl": {
"h": 261.46,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.51343,
"c": 0.20031,
"h": 294.7
},
"luminance": 0.11853
}Semantic roles & 50–950 ramp
primary
#7342CB
secondary
#BDD297
accent
#E048AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83