#7E7FEE#7E7FEE
#7E7FEE is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.8% C 0.163 H 280.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7FEE |
|---|---|
| RGB | rgb(126, 127, 238) |
| HSL | hsl(239, 77%, 71%) |
| HSV | hsv(239, 47%, 93%) |
| CMYK | cmyk(47.1%, 46.6%, 0%, 6.7%) |
| CIE-LAB | lab(57.83, 28.21, -56.26) |
| CIE-LCH | lch(57.83, 62.94, 296.63°) |
| OKLab | oklab(64.75% 0.0295 -0.1598) |
| OKLCH | oklch(64.75% 0.163 280.5) |
| XYZ | xyz(31.6215, 25.7858, 84.1833) |
| Luminance | 0.2579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 3.33
Periwinkle (survey)
#8E82FE
ΔE00 3.50
Cornflower
#6A79F7
ΔE00 3.72
Perrywinkle
#8F8CE7
ΔE00 4.89
Soft Blue
#6488EA
ΔE00 6.69
Mediumslateblue
#7B68EE
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7FEE #EEED7E
analogous
#7EB7EE #7E7FEE #B57EEE
triadic
#7E7FEE #EE7E7F #7FEE7E
tetradic
#7E7FEE #EE7EB7 #EEED7E #7EEEB5
square
#7E7FEE #EE7EB7 #EEED7E #7EEEB5
split-complementary
#7E7FEE #EEB57E #B7EE7E
monochromatic
#1C1ED5 #4849E7 #7E7FEE #B4B5F5 #E4E4FB
Accessibility & contrast
On white
3.41
#7E7FEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#7E7FEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7FEE
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7FEE | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508FF2
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#5697AB
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #7e7fee; /* rgb */ color: rgb(126, 127, 238); /* oklch */ color: oklch(64.8% 0.163 280.5);
Tailwind
colors: {
custom: {
50: '#a9a4f4',
500: '#7e7fee',
950: '#000000',
},
}SCSS
$custom: #7e7fee; $custom-light: #a9a4f4; $custom-dark: #000000;
JSON
{
"hex": "#7e7fee",
"rgb": {
"r": 126,
"g": 127,
"b": 238
},
"hsl": {
"h": 239.464,
"s": 76.712,
"l": 71.373
},
"oklch": {
"l": 0.64751,
"c": 0.1625,
"h": 280.5
},
"luminance": 0.25787
}Semantic roles & 50–950 ramp
primary
#7E7FEE
secondary
#F2F2D5
accent
#D70DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85