#7E7AFE#7E7AFE
#7E7AFE is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.9% C 0.191 H 281.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7AFE |
|---|---|
| RGB | rgb(126, 122, 254) |
| HSL | hsl(242, 99%, 74%) |
| HSV | hsv(242, 52%, 100%) |
| CMYK | cmyk(50.4%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(57.57, 35.90, -65.54) |
| CIE-LCH | lch(57.57, 74.73, 298.71°) |
| OKLab | oklab(64.85% 0.0365 -0.1871) |
| OKLCH | oklch(64.85% 0.191 281) |
| XYZ | xyz(33.4476, 25.5086, 96.9079) |
| Luminance | 0.2551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.29
Cornflower
#6A79F7
ΔE00 3.50
Lavender Blue
#8B88F8
ΔE00 4.39
Mediumslateblue
#7B68EE
ΔE00 5.86
Perrywinkle
#8F8CE7
ΔE00 6.82
Mediumpurple
#9370DB
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7AFE #FAFE7A
analogous
#7AB8FE #7E7AFE #C07AFE
triadic
#7E7AFE #FE7E7A #7AFE7E
tetradic
#7E7AFE #FE7AB8 #FAFE7A #7AFEC0
square
#7E7AFE #FE7AB8 #FAFE7A #7AFEC0
split-complementary
#7E7AFE #FEC07A #B8FE7A
monochromatic
#0902FC #433DFE #7E7AFE #B9B7FE #E2E1FF
Accessibility & contrast
On white
3.44
#7E7AFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#7E7AFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7AFE
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7AFE | 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)
#338FFF
Deuteranopia (green-blind)
#2585FB
Tritanopia (blue-blind)
#4B97B0
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #7e7afe; /* rgb */ color: rgb(126, 122, 254); /* oklch */ color: oklch(64.9% 0.191 281.0);
Tailwind
colors: {
custom: {
50: '#aba0ff',
500: '#7e7afe',
950: '#000000',
},
}SCSS
$custom: #7e7afe; $custom-light: #aba0ff; $custom-dark: #000000;
JSON
{
"hex": "#7e7afe",
"rgb": {
"r": 126,
"g": 122,
"b": 254
},
"hsl": {
"h": 241.818,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.64855,
"c": 0.1906,
"h": 281
},
"luminance": 0.2551
}Semantic roles & 50–950 ramp
primary
#7E7AFE
secondary
#F6F7D4
accent
#E600DF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86