#7E7EFB#7E7EFB
#7E7EFB is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.4% C 0.181 H 280.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7EFB |
|---|---|
| RGB | rgb(126, 126, 251) |
| HSL | hsl(240, 94%, 74%) |
| HSV | hsv(240, 50%, 98%) |
| CMYK | cmyk(49.8%, 49.8%, 0%, 1.6%) |
| CIE-LAB | lab(58.34, 32.66, -62.65) |
| CIE-LCH | lch(58.34, 70.65, 297.53°) |
| OKLab | oklab(65.38% 0.0319 -0.1785) |
| OKLCH | oklch(65.38% 0.181 280.1) |
| XYZ | xyz(33.4723, 26.3205, 94.5647) |
| Luminance | 0.2632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.90
Lavender Blue
#8B88F8
ΔE00 3.39
Cornflower
#6A79F7
ΔE00 3.44
Perrywinkle
#8F8CE7
ΔE00 5.84
Mediumslateblue
#7B68EE
ΔE00 6.88
Soft Blue
#6488EA
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7EFB #FBFB7E
analogous
#7EBDFB #7E7EFB #BD7EFB
triadic
#7E7EFB #FB7E7E #7EFB7E
tetradic
#7E7EFB #FB7EBD #FBFB7E #7EFBBD
square
#7E7EFB #FB7EBD #FBFB7E #7EFBBD
split-complementary
#7E7EFB #FBBD7E #BDFB7E
monochromatic
#0808F7 #4343F9 #7E7EFB #B9B9FD #E1E1FE
Accessibility & contrast
On white
3.35
#7E7EFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#7E7EFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7EFB
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7EFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7EFB | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#3688F8
Tritanopia (blue-blind)
#4D99B1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #7e7efb; /* rgb */ color: rgb(126, 126, 251); /* oklch */ color: oklch(65.4% 0.181 280.1);
Tailwind
colors: {
custom: {
50: '#aba3fd',
500: '#7e7efb',
950: '#000000',
},
}SCSS
$custom: #7e7efb; $custom-light: #aba3fd; $custom-dark: #000000;
JSON
{
"hex": "#7e7efb",
"rgb": {
"r": 126,
"g": 126,
"b": 251
},
"hsl": {
"h": 240,
"s": 93.985,
"l": 73.922
},
"oklch": {
"l": 0.65375,
"c": 0.18138,
"h": 280.1
},
"luminance": 0.26322
}Semantic roles & 50–950 ramp
primary
#7E7EFB
secondary
#F6F6D5
accent
#E600E5
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86