#7D7EF5#7D7EF5
#7D7EF5 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.9% C 0.173 H 280.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7EF5 |
|---|---|
| RGB | rgb(125, 126, 245) |
| HSL | hsl(240, 86%, 73%) |
| HSV | hsv(240, 49%, 96%) |
| CMYK | cmyk(49%, 48.6%, 0%, 3.9%) |
| CIE-LAB | lab(57.92, 30.66, -60.02) |
| CIE-LCH | lch(57.92, 67.39, 297.06°) |
| OKLab | oklab(64.93% 0.0303 -0.1708) |
| OKLCH | oklch(64.93% 0.174 280.1) |
| XYZ | xyz(32.3947, 25.8725, 89.6554) |
| Luminance | 0.2587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.24
Cornflower
#6A79F7
ΔE00 3.26
Lavender Blue
#8B88F8
ΔE00 3.45
Perrywinkle
#8F8CE7
ΔE00 5.55
Mediumslateblue
#7B68EE
ΔE00 6.77
Soft Blue
#6488EA
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7EF5 #F5F47D
analogous
#7DBAF5 #7D7EF5 #B87DF5
triadic
#7D7EF5 #F57D7E #7EF57D
tetradic
#7D7EF5 #F57DBA #F5F47D #7DF5B8
square
#7D7EF5 #F57DBA #F5F47D #7DF5B8
split-complementary
#7D7EF5 #F5B87D #BAF57D
monochromatic
#1213E6 #4446F1 #7D7EF5 #B6B6F9 #E3E3FD
Accessibility & contrast
On white
3.40
#7D7EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#7D7EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7EF5
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7EF5 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#3D87F2
Tritanopia (blue-blind)
#4F98AE
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #7d7ef5; /* rgb */ color: rgb(125, 126, 245); /* oklch */ color: oklch(64.9% 0.173 280.1);
Tailwind
colors: {
custom: {
50: '#aaa3f9',
500: '#7d7ef5',
950: '#000000',
},
}SCSS
$custom: #7d7ef5; $custom-light: #aaa3f9; $custom-dark: #000000;
JSON
{
"hex": "#7d7ef5",
"rgb": {
"r": 125,
"g": 126,
"b": 245
},
"hsl": {
"h": 239.5,
"s": 85.714,
"l": 72.549
},
"oklch": {
"l": 0.64925,
"c": 0.1735,
"h": 280.1
},
"luminance": 0.25874
}Semantic roles & 50–950 ramp
primary
#7D7EF5
secondary
#F5F5D6
accent
#E003E2
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F17
muted
#807F85