#7A87F2#7A87F2
#7A87F2 is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.2% C 0.158 H 276.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7A87F2 |
|---|---|
| RGB | rgb(122, 135, 242) |
| HSL | hsl(234, 82%, 71%) |
| HSV | hsv(234, 50%, 95%) |
| CMYK | cmyk(49.6%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(59.78, 23.78, -55.40) |
| CIE-LCH | lch(59.78, 60.29, 293.23°) |
| OKLab | oklab(66.23% 0.0165 -0.1573) |
| OKLCH | oklch(66.23% 0.158 276) |
| XYZ | xyz(32.7120, 27.8744, 87.6438) |
| Luminance | 0.2788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 3.32
Soft Blue
#6488EA
ΔE00 4.47
Cornflower
#6A79F7
ΔE00 4.55
Perrywinkle
#8F8CE7
ΔE00 4.75
Periwinkle (survey)
#8E82FE
ΔE00 4.78
Periwinkle Blue
#8F99FB
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A87F2 #F2E57A
analogous
#7AC3F2 #7A87F2 #A97AF2
triadic
#7A87F2 #F27A87 #87F27A
tetradic
#7A87F2 #F27AC3 #F2E57A #7AF2A9
square
#7A87F2 #F27AC3 #F2E57A #7AF2A9
split-complementary
#7A87F2 #F2A97A #C3F27A
monochromatic
#162BDC #4255ED #7A87F2 #B2B9F7 #E3E6FC
Accessibility & contrast
On white
3.19
#7A87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#7A87F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A87F2
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A87F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A87F2 | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#4F8BF0
Tritanopia (blue-blind)
#499EB1
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #7a87f2; /* rgb */ color: rgb(122, 135, 242); /* oklch */ color: oklch(66.2% 0.158 276.0);
Tailwind
colors: {
custom: {
50: '#a7a9f7',
500: '#7a87f2',
950: '#000000',
},
}SCSS
$custom: #7a87f2; $custom-light: #a7a9f7; $custom-dark: #000000;
JSON
{
"hex": "#7a87f2",
"rgb": {
"r": 122,
"g": 135,
"b": 242
},
"hsl": {
"h": 233.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.66226,
"c": 0.15816,
"h": 276
},
"luminance": 0.27876
}Semantic roles & 50–950 ramp
primary
#7A87F2
secondary
#F3F0D4
accent
#C707DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85