#7E7DF7#7E7DF7
#7E7DF7 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.9% C 0.177 H 280.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7DF7 |
|---|---|
| RGB | rgb(126, 125, 247) |
| HSL | hsl(240, 88%, 73%) |
| HSV | hsv(240, 49%, 97%) |
| CMYK | cmyk(49%, 49.4%, 0%, 3.1%) |
| CIE-LAB | lab(57.86, 32.06, -61.20) |
| CIE-LCH | lch(57.86, 69.09, 297.64°) |
| OKLab | oklab(64.94% 0.0327 -0.1743) |
| OKLCH | oklch(64.94% 0.177 280.6) |
| XYZ | xyz(32.7212, 25.8165, 91.2366) |
| Luminance | 0.2582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.06
Cornflower
#6A79F7
ΔE00 3.36
Lavender Blue
#8B88F8
ΔE00 3.57
Perrywinkle
#8F8CE7
ΔE00 5.78
Mediumslateblue
#7B68EE
ΔE00 6.47
Soft Blue
#6488EA
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7DF7 #F6F77D
analogous
#7DB9F7 #7E7DF7 #BB7DF7
triadic
#7E7DF7 #F77E7D #7DF77E
tetradic
#7E7DF7 #F77DB9 #F6F77D #7DF7BB
square
#7E7DF7 #F77DB9 #F6F77D #7DF7BB
split-complementary
#7E7DF7 #F7BB7D #B9F77D
monochromatic
#100EEB #4543F3 #7E7DF7 #B7B7FB #E2E2FD
Accessibility & contrast
On white
3.41
#7E7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#7E7DF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7DF7
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7DF7 | 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)
#4490FB
Deuteranopia (green-blind)
#3987F4
Tritanopia (blue-blind)
#5098AE
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #7e7df7; /* rgb */ color: rgb(126, 125, 247); /* oklch */ color: oklch(64.9% 0.177 280.6);
Tailwind
colors: {
custom: {
50: '#aaa2fa',
500: '#7e7df7',
950: '#000000',
},
}SCSS
$custom: #7e7df7; $custom-light: #aaa2fa; $custom-dark: #000000;
JSON
{
"hex": "#7e7df7",
"rgb": {
"r": 126,
"g": 125,
"b": 247
},
"hsl": {
"h": 240.492,
"s": 88.406,
"l": 72.941
},
"oklch": {
"l": 0.6494,
"c": 0.17736,
"h": 280.6
},
"luminance": 0.25818
}Semantic roles & 50–950 ramp
primary
#7E7DF7
secondary
#F5F5D6
accent
#E500E3
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85