#7E6CF3#7E6CF3
#7E6CF3 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.7% C 0.195 H 285.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6CF3 |
|---|---|
| RGB | rgb(126, 108, 243) |
| HSL | hsl(248, 85%, 69%) |
| HSV | hsv(248, 56%, 95%) |
| CMYK | cmyk(48.1%, 55.6%, 0%, 4.7%) |
| CIE-LAB | lab(53.63, 40.82, -65.79) |
| CIE-LCH | lch(53.63, 77.42, 301.82°) |
| OKLab | oklab(61.7% 0.0512 -0.1879) |
| OKLCH | oklch(61.7% 0.195 285.2) |
| XYZ | xyz(30.1396, 21.6304, 87.3636) |
| Luminance | 0.2163 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.47
Cornflower
#6A79F7
ΔE00 5.80
Mediumpurple
#9370DB
ΔE00 5.85
Periwinkle (survey)
#8E82FE
ΔE00 6.74
Purpley
#8756E4
ΔE00 6.92
Dark Periwinkle
#665FD1
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6CF3 #E1F36C
analogous
#6C9EF3 #7E6CF3 #C26CF3
triadic
#7E6CF3 #F37E6C #6CF37E
tetradic
#7E6CF3 #F36C9E #E1F36C #6CF3C2
square
#7E6CF3 #F36C9E #E1F36C #6CF3C2
split-complementary
#7E6CF3 #F3C26C #9EF36C
monochromatic
#2B11D3 #4C33EE #7E6CF3 #B0A5F8 #E1DDFC
Accessibility & contrast
On white
3.94
#7E6CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#7E6CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E6CF3
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E6CF3 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1284F8
Deuteranopia (green-blind)
#057CF0
Tritanopia (blue-blind)
#558AA5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7e6cf3; /* rgb */ color: rgb(126, 108, 243); /* oklch */ color: oklch(61.7% 0.195 285.2);
Tailwind
colors: {
custom: {
50: '#ab96f8',
500: '#7e6cf3',
950: '#000000',
},
}SCSS
$custom: #7e6cf3; $custom-light: #ab96f8; $custom-dark: #000000;
JSON
{
"hex": "#7e6cf3",
"rgb": {
"r": 126,
"g": 108,
"b": 243
},
"hsl": {
"h": 248,
"s": 84.906,
"l": 68.824
},
"oklch": {
"l": 0.61704,
"c": 0.19475,
"h": 285.2
},
"luminance": 0.21632
}Semantic roles & 50–950 ramp
primary
#7E6CF3
secondary
#ECF1C9
accent
#E104C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85