#7E7DF5#7E7DF5
#7E7DF5 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.8% C 0.175 H 280.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7DF5 |
|---|---|
| RGB | rgb(126, 125, 245) |
| HSL | hsl(241, 86%, 73%) |
| HSV | hsv(241, 49%, 96%) |
| CMYK | cmyk(48.6%, 49%, 0%, 3.9%) |
| CIE-LAB | lab(57.75, 31.46, -60.29) |
| CIE-LCH | lch(57.75, 68.00, 297.56°) |
| OKLab | oklab(64.81% 0.0325 -0.1716) |
| OKLCH | oklch(64.81% 0.175 280.7) |
| XYZ | xyz(32.4142, 25.6937, 89.6199) |
| Luminance | 0.2570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.14
Cornflower
#6A79F7
ΔE00 3.38
Lavender Blue
#8B88F8
ΔE00 3.58
Perrywinkle
#8F8CE7
ΔE00 5.67
Mediumslateblue
#7B68EE
ΔE00 6.43
Soft Blue
#6488EA
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7DF5 #F4F57D
analogous
#7DB8F5 #7E7DF5 #BA7DF5
triadic
#7E7DF5 #F57E7D #7DF57E
tetradic
#7E7DF5 #F57DB8 #F4F57D #7DF5BA
square
#7E7DF5 #F57DB8 #F4F57D #7DF5BA
split-complementary
#7E7DF5 #F5BA7D #B8F57D
monochromatic
#1312E6 #4644F1 #7E7DF5 #B6B6F9 #E3E3FD
Accessibility & contrast
On white
3.42
#7E7DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#7E7DF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7DF5
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7DF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7DF5 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468FF9
Deuteranopia (green-blind)
#3C86F2
Tritanopia (blue-blind)
#5197AD
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #7e7df5; /* rgb */ color: rgb(126, 125, 245); /* oklch */ color: oklch(64.8% 0.175 280.7);
Tailwind
colors: {
custom: {
50: '#aaa2f9',
500: '#7e7df5',
950: '#000000',
},
}SCSS
$custom: #7e7df5; $custom-light: #aaa2f9; $custom-dark: #000000;
JSON
{
"hex": "#7e7df5",
"rgb": {
"r": 126,
"g": 125,
"b": 245
},
"hsl": {
"h": 240.5,
"s": 85.714,
"l": 72.549
},
"oklch": {
"l": 0.64814,
"c": 0.17468,
"h": 280.7
},
"luminance": 0.25695
}Semantic roles & 50–950 ramp
primary
#7E7DF5
secondary
#F5F5D6
accent
#E203E0
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F17
muted
#807F85