#7D8AFE#7D8AFE
#7D8AFE is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.7% C 0.170 H 276.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7D8AFE |
|---|---|
| RGB | rgb(125, 138, 254) |
| HSL | hsl(234, 98%, 74%) |
| HSV | hsv(234, 51%, 100%) |
| CMYK | cmyk(50.8%, 45.7%, 0%, 0.4%) |
| CIE-LAB | lab(61.39, 26.28, -59.42) |
| CIE-LCH | lch(61.39, 64.97, 293.86°) |
| OKLab | oklab(67.72% 0.018 -0.169) |
| OKLCH | oklch(67.72% 0.17 276.1) |
| XYZ | xyz(35.4297, 29.6905, 97.6106) |
| Luminance | 0.2969 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 3.12
Periwinkle (survey)
#8E82FE
ΔE00 4.59
Periwinkle Blue
#8F99FB
ΔE00 4.73
Perrywinkle
#8F8CE7
ΔE00 5.15
Soft Blue
#6488EA
ΔE00 5.19
Cornflower
#6A79F7
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D8AFE #FEF17D
analogous
#7DCBFE #7D8AFE #B07DFE
triadic
#7D8AFE #FE7D8A #8AFE7D
tetradic
#7D8AFE #FE7DCB #FEF17D #7DFEB0
square
#7D8AFE #FE7DCB #FEF17D #7DFEB0
split-complementary
#7D8AFE #FEB07D #CBFE7D
monochromatic
#041DFD #4053FE #7D8AFE #BAC1FE #E1E4FF
Accessibility & contrast
On white
3.03
#7D8AFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#7D8AFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D8AFE
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D8AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D8AFE | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#46A3B8
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #7d8afe; /* rgb */ color: rgb(125, 138, 254); /* oklch */ color: oklch(67.7% 0.170 276.1);
Tailwind
colors: {
custom: {
50: '#aaacff',
500: '#7d8afe',
950: '#000000',
},
}SCSS
$custom: #7d8afe; $custom-light: #aaacff; $custom-dark: #000000;
JSON
{
"hex": "#7d8afe",
"rgb": {
"r": 125,
"g": 138,
"b": 254
},
"hsl": {
"h": 233.953,
"s": 98.473,
"l": 74.314
},
"oklch": {
"l": 0.67715,
"c": 0.16996,
"h": 276.1
},
"luminance": 0.29693
}Semantic roles & 50–950 ramp
primary
#7D8AFE
secondary
#F7F4D4
accent
#CE00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86