#7E7EFF#7E7EFF
#7E7EFF is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.6% C 0.187 H 279.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7EFF |
|---|---|
| RGB | rgb(126, 126, 255) |
| HSL | hsl(240, 100%, 75%) |
| HSV | hsv(240, 51%, 100%) |
| CMYK | cmyk(50.6%, 50.6%, 0%, 0%) |
| CIE-LAB | lab(58.58, 33.85, -64.46) |
| CIE-LCH | lch(58.58, 72.81, 297.71°) |
| OKLab | oklab(65.63% 0.0322 -0.1839) |
| OKLCH | oklch(65.63% 0.187 279.9) |
| XYZ | xyz(34.1095, 26.5754, 97.9206) |
| Luminance | 0.2658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.88
Lavender Blue
#8B88F8
ΔE00 3.50
Cornflower
#6A79F7
ΔE00 3.56
Perrywinkle
#8F8CE7
ΔE00 6.12
Mediumslateblue
#7B68EE
ΔE00 7.03
Soft Blue
#6488EA
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7EFF #FFFF7E
analogous
#7EBFFF #7E7EFF #BF7EFF
triadic
#7E7EFF #FF7E7E #7EFF7E
tetradic
#7E7EFF #FF7EBF #FFFF7E #7EFFBF
square
#7E7EFF #FF7EBF #FFFF7E #7EFFBF
split-complementary
#7E7EFF #FFBF7E #BFFF7E
monochromatic
#0404FF #4141FF #7E7EFF #BBBBFF #E0E0FF
Accessibility & contrast
On white
3.33
#7E7EFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#7E7EFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7EFF
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7EFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7EFF | 1.00 | 3.33 | 6.32 | 6.32 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#2F88FC
Tritanopia (blue-blind)
#499AB3
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #7e7eff; /* rgb */ color: rgb(126, 126, 255); /* oklch */ color: oklch(65.6% 0.187 279.9);
Tailwind
colors: {
custom: {
50: '#aba3ff',
500: '#7e7eff',
950: '#000000',
},
}SCSS
$custom: #7e7eff; $custom-light: #aba3ff; $custom-dark: #000000;
JSON
{
"hex": "#7e7eff",
"rgb": {
"r": 126,
"g": 126,
"b": 255
},
"hsl": {
"h": 240,
"s": 100,
"l": 74.706
},
"oklch": {
"l": 0.65632,
"c": 0.18669,
"h": 279.9
},
"luminance": 0.26577
}Semantic roles & 50–950 ramp
primary
#7E7EFF
secondary
#F7F7D4
accent
#E600E5
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86