#7E7DF2#7E7DF2
#7E7DF2 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.6% C 0.171 H 280.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7DF2 |
|---|---|
| RGB | rgb(126, 125, 242) |
| HSL | hsl(241, 82%, 72%) |
| HSV | hsv(241, 48%, 95%) |
| CMYK | cmyk(47.9%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(57.57, 30.57, -58.90) |
| CIE-LCH | lch(57.57, 66.37, 297.43°) |
| OKLab | oklab(64.63% 0.0322 -0.1676) |
| OKLCH | oklch(64.63% 0.171 280.9) |
| XYZ | xyz(31.9599, 25.5120, 87.2274) |
| Luminance | 0.2551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.29
Cornflower
#6A79F7
ΔE00 3.44
Lavender Blue
#8B88F8
ΔE00 3.62
Perrywinkle
#8F8CE7
ΔE00 5.50
Mediumslateblue
#7B68EE
ΔE00 6.39
Soft Blue
#6488EA
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7DF2 #F1F27D
analogous
#7DB7F2 #7E7DF2 #B97DF2
triadic
#7E7DF2 #F27E7D #7DF27E
tetradic
#7E7DF2 #F27DB7 #F1F27D #7DF2B9
square
#7E7DF2 #F27DB7 #F1F27D #7DF2B9
split-complementary
#7E7DF2 #F2B97D #B7F27D
monochromatic
#1816DE #4745EC #7E7DF2 #B5B5F8 #E3E3FC
Accessibility & contrast
On white
3.44
#7E7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#7E7DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7DF2
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7DF2 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#5396AC
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #7e7df2; /* rgb */ color: rgb(126, 125, 242); /* oklch */ color: oklch(64.6% 0.171 280.9);
Tailwind
colors: {
custom: {
50: '#aaa2f7',
500: '#7e7df2',
950: '#000000',
},
}SCSS
$custom: #7e7df2; $custom-light: #aaa2f7; $custom-dark: #000000;
JSON
{
"hex": "#7e7df2",
"rgb": {
"r": 126,
"g": 125,
"b": 242
},
"hsl": {
"h": 240.513,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.64627,
"c": 0.17063,
"h": 280.9
},
"luminance": 0.25514
}Semantic roles & 50–950 ramp
primary
#7E7DF2
secondary
#F4F4D7
accent
#DE07DC
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#100F17
muted
#7F7F85