#7E7DFD#7E7DFD
#7E7DFD is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.3% C 0.185 H 280.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7DFD |
|---|---|
| RGB | rgb(126, 125, 253) |
| HSL | hsl(240, 97%, 74%) |
| HSV | hsv(240, 51%, 99%) |
| CMYK | cmyk(50.2%, 50.6%, 0%, 0.8%) |
| CIE-LAB | lab(58.22, 33.84, -63.94) |
| CIE-LCH | lch(58.22, 72.35, 297.89°) |
| OKLab | oklab(65.32% 0.0332 -0.1824) |
| OKLCH | oklch(65.32% 0.185 280.3) |
| XYZ | xyz(33.6620, 26.1928, 96.1914) |
| Luminance | 0.2620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.94
Cornflower
#6A79F7
ΔE00 3.45
Lavender Blue
#8B88F8
ΔE00 3.65
Perrywinkle
#8F8CE7
ΔE00 6.16
Mediumslateblue
#7B68EE
ΔE00 6.66
Soft Blue
#6488EA
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7DFD #FCFD7D
analogous
#7DBCFD #7E7DFD #BE7DFD
triadic
#7E7DFD #FD7E7D #7DFD7E
tetradic
#7E7DFD #FD7DBC #FCFD7D #7DFDBE
square
#7E7DFD #FD7DBC #FCFD7D #7DFDBE
split-complementary
#7E7DFD #FDBE7D #BCFD7D
monochromatic
#0604FB #4241FC #7E7DFD #BAB9FE #E1E1FF
Accessibility & contrast
On white
3.37
#7E7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#7E7DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7DFD
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7DFD | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#3087FA
Tritanopia (blue-blind)
#4B99B1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #7e7dfd; /* rgb */ color: rgb(126, 125, 253); /* oklch */ color: oklch(65.3% 0.185 280.3);
Tailwind
colors: {
custom: {
50: '#aba2ff',
500: '#7e7dfd',
950: '#000000',
},
}SCSS
$custom: #7e7dfd; $custom-light: #aba2ff; $custom-dark: #000000;
JSON
{
"hex": "#7e7dfd",
"rgb": {
"r": 126,
"g": 125,
"b": 253
},
"hsl": {
"h": 240.469,
"s": 96.97,
"l": 74.118
},
"oklch": {
"l": 0.65323,
"c": 0.18535,
"h": 280.3
},
"luminance": 0.26195
}Semantic roles & 50–950 ramp
primary
#7E7DFD
secondary
#F7F7D4
accent
#E600E4
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86